no service pad. K* s" E8 S: w3 ~3 x0 w
service timestamps debug datetime msec localtime show-timezone& Z0 m) O9 T5 k! m3 t: q
service timestamps log datetime localtime show-timezone
6 l9 G: R8 E, G2 M! D) X. v2 V0 mno service password-encryption
! T. N% x' P* l' ]!" i0 T2 T- O9 S0 l5 C8 I
hostname MY_SWITCH [[[ Set switch hostname ]]]% b, T& G$ N% E! }4 M
!
' ^& _; `2 O) ?2 z1 ^. Q& Husername XXXXX secret 5 $1$i/aq$6gVcvlv2b7H6cLeDUGnhw0
2 |' H" d5 B- Wenable secret 5 $1$4KgT$eQ0xNzP8Q5lTdtLm/hFHJ1* j* g+ f8 o3 M! h. d
!1 `5 X9 ?' C$ {
clock timezone HKT 8 [[[ Set Hong Kong Time Zone ]]] X* G0 R' p4 u5 z
!$ Z1 R1 w4 S1 ~1 a
vtp mode transparent [[[ VTP = Vlan trunking protocol ]]]6 r" I. e* G$ u) o& N
!: M" m* j9 g& }
spanning-tree mode pvst1 ^3 z3 K4 R% g/ S
no spanning-tree optimize bpdu transmission4 K! V: ^" s# U3 Y1 [
spanning-tree extend system-id
1 T3 w5 _5 n2 M$ [$ a!
4 `( d: `3 ~ ]! Tinterface FastEthernet0/1 [[[ Set access port in certain ports to allow certain Vlan ]]]
6 w8 y" c6 B. Z- N# ~9 m switchport mode access
/ E/ Z0 Y, P& G/ o! N _ switchport access vlan 23 @. g& P( Z% g* Q' }/ f4 Q+ d. Q
!
0 W$ o; D4 R# w$ [; ^9 V2 Q' Z( ginterface FastEthernet0/2/ ^, O& H: B B; ]
switchport mode access0 D, [7 q5 P1 `8 j+ K( K7 m* h: d
switchport access vlan 20 l5 D$ Y" ^9 O# O) k* F
!' F; P( N/ k. K! w
interface FastEthernet0/3
$ c4 g. w' X% s6 Dswitchport mode access6 x, R9 ?# i, X9 Y, y; C4 x
switchport access vlan 3: B, S- S" P3 k& l" m ^) R" ^ Z' Y
!
) f$ u: M$ @( P& n% L# R9 ?5 iinterface FastEthernet0/4
( c$ m6 ]2 _$ s4 F3 Zswitchport mode access
9 m0 N( f7 S* H switchport access vlan 3
4 E7 ], [' ]9 @!9 ~% O/ A* K7 P' Y u. C/ c5 r
interface FastEthernet0/5
, _; Q# x+ @9 I( H; h' F* Gswitchport mode access
6 {3 }6 L& m3 [: m1 C; C" N switchport access vlan 2
% c6 |) J$ q) n% z!( N7 d4 f5 H& }; Q8 d
interface FastEthernet0/6
) ?# D" |8 D# ^# g$ j: Eswitchport mode access
, [2 n6 N& Y2 ]% R% S switchport access vlan 2$ Q+ ^# l+ M" f4 {
!. f- @* r) p- y. X* Q' h" r
interface FastEthernet0/7/ `' G) T/ c7 }& T" P
switchport mode access! y. D; i; R5 ~, N* w/ A
switchport access vlan 3# H" r9 X* I' z
!
0 o6 G- A- W) |! o4 i; o# ?0 y6 binterface FastEthernet0/8
- @& ?7 A7 v: N6 b6 ~ no ip address
7 R; K% ~( U3 J!$ H. [7 ]8 o) _6 z
interface FastEthernet0/9
+ m0 L& r( K5 u2 V) |& D no ip address! z2 j4 d) F8 J
!
. R5 Q+ s8 O3 ?' B/ q1 {interface FastEthernet0/100 y8 V0 h! S" d% {
no ip address
3 z5 Y8 @; V9 T!) t3 i, G. S( C# J K* H
interface FastEthernet0/11
6 u, m" F5 p( ^/ g7 Q2 Sswitchport mode access
/ N0 g* t" O/ W5 u0 D; y switchport access vlan 3
, y: b8 | H1 F. r!# K' I( X0 y# b/ W- p$ q9 V+ n9 m
interface FastEthernet0/12
# J5 {$ e& m0 K F# Jswitchport mode access
. B' z. ?. A6 y+ T% r* _2 n% u1 j+ O switchport access vlan 2) h, ?) }2 N5 k
!( v5 \/ g# j% k$ U) Q$ F) M9 {! z& d
interface FastEthernet0/13
$ R2 c2 g: F7 e. S5 C) ~: hswitchport mode access
) Z7 e7 `6 C& m6 A: J switchport access vlan 3# n( h2 m: m( l$ x$ G" X
!
% n1 J4 G+ o6 a' |6 N8 @5 ~interface FastEthernet0/14
, v! C: ?$ [& S+ [9 h no ip address" f7 \- p+ ^, }0 j3 g
!0 V5 ]( b/ {. R& s9 Z
interface FastEthernet0/15: _, f C R: C( {
no ip address
2 F# D4 S$ G9 w+ I9 c. e, k; i!
4 \! d9 b3 Y" a- ?9 d* Vinterface FastEthernet0/16
& R9 k! \" L6 L+ x* H p/ K no ip address
8 ~$ a" \7 ?; Q- o: @- B: c' ~" E!. t6 U; Q: _! d* }+ F- ^
interface FastEthernet0/17
! x7 h% r, d4 X: i' E* I no ip address
/ U D9 M1 r0 g8 W# \- L!0 s6 i. `. [! I$ G, |- y0 N7 J
interface FastEthernet0/181 R2 A- @8 k b2 k! i
no ip address
0 u% D: I) p! Y; A) p. o! l!
; k( R: e9 f5 `9 U$ dinterface FastEthernet0/191 Z7 `0 _' _/ b
no ip address4 Q6 L# f3 A9 y
!3 ?/ h$ `% @1 C U4 H
interface FastEthernet0/20
6 m U6 M* C2 `, }1 q" [ no ip address
0 N. S y" Q4 t* n. e!/ b* i- K$ k2 a# \% p: x8 R. j
interface FastEthernet0/21
# w2 @7 i+ n5 H% f s# B no ip address
) U. B7 A2 e$ G9 s!7 t& z" r8 X* q/ f6 n
interface FastEthernet0/22( r& h+ a( [; H8 u
no ip address
0 q c, K. Q4 {5 D!0 F' \+ @' r3 J
interface FastEthernet0/23
/ t' I8 C. C; @9 D, s no ip address
$ u& A- \4 B* K! Y' @0 [# l L/ C2 P6 b
interface FastEthernet0/24' A% }/ C6 R6 o8 J3 [( U \+ L0 r% Y
no ip address
3 m: ~ }3 a& Y2 A!
& U7 R d/ ~9 ~% i0 Q9 {/ {1 zinterface GigabitEthernet0/1 [[[ Set trunk mode in uplink ports ]]]
/ S7 W/ B( S5 s: t; A: u- U switchport mode trunk7 X: b7 j# J+ }
!# d4 c p; a# E; t
interface GigabitEthernet0/2, q$ J5 x# b$ T8 E* W# S
switchport mode trunk
* c: u" p' _! o. @!9 o4 Y% J7 G2 [7 w: b* i
interface Vlan1 [[[ Vlan 1 = native Vlan ]]]
/ Z+ D0 q/ m- T0 g2 S8 B1 w ip address 172.18.25.203 255.255.255.03 d, [# e% x( J2 ^
!5 C6 o% }, U) v: U, T! f9 c
interface Vlan27 c4 ]* ~: [- B% U* ~# h
ip address 172.18.25.203 255.255.255.09 k" W2 h- ]4 p( G
!
7 {/ b" S7 s9 Q7 L" Xinterface Vlan3
* A2 }7 E: l2 n7 C0 a ip address 172.18.25.203 255.255.255.0: K |6 {; Y' x: n* T
!; x/ z/ x4 O( `
ip default-gateway 172.18.25.44 [[[ Set gateway IP address ]]]]5 \5 P! @. W% ?7 G! V
!
& E- \2 X# W: tsnmp-server community admin1234 RO5 k3 b% f0 N, y; i: c. v
logging 172.18.25.37 [[[ Set log server IP address ]]]
- U8 g+ Z" x; H( d. B!* b6 Q2 y& z8 Y* l' y
line con 0
- H) q$ e4 n# g password XXXXX* X0 B( G% ?; z1 z1 n) A
line vty 0 4
' k1 f$ U0 \$ b9 ^+ Iline vty 5 15
/ K i, M# E( T!. L* e, I% } e" V; X
ntp clock-period 17179912 [[[ NTP = network time protocol ]]]& N/ c0 W& ^. l6 K& J7 R/ V
ntp server 172.38.225.218
6 l+ d3 o* s! @3 pend |