- 积分
- 318
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
发表于 2013-4-30 14:00:05
|
显示全部楼层
自己先解的,有不对的一起讨论
本帖最后由 jww330015 于 2013-4-30 15:26 编辑
0 G* r, E* D9 Z% v1 `% f i: s" G4 Y% a% s
1.2 Implement Access Switch Ports of Switched Network
0 V* w# j9 d: y1 f |; `: s; ^-----------------------------------------------------$ L6 C6 ~7 Y; z$ \) S" v
Configure all of the appropriate non-trunking switch ports on SW1 – SW4 according to the following
4 y8 D: \1 W, |& Q3 I; `; g
2 g& H- P. l; t3 f7 l- SW1 is the server for the VLAN Trunking Protocol version 2 domain "CCIE" (VTP password "cisco" ): o) q+ Y! Y }' X. x n
- SW2, SW3, SW4 are expecting SW1 update their VLAN database when needed1 Y! O- G+ u+ t5 R( J' ^, } F
- Configure the VLAN ID and Name according to the table below (case sensitive)
7 `" L2 `6 |, x! E3 F8 E( L- Configure the access ports for each VLAN as per the diagram
* s0 G; R" q `/ t9 D- Configure all the Switch mode are Transparent after synchronization the VLAN database.
$ }. ^0 r: {- n9 U
, U& {+ i& W2 x' u0 C9 |" g9 @VLAN_ID NAME/ m" C* S. B$ i7 J9 A
16 VLAN_16_R1toSW1* `& Z0 t. x& c- O- ]; W+ s0 S6 H/ Z( `
18 VLAN_18_R1toSW3
& W& z. @- c1 r28 VLAN_28_R2toSW31 E8 F+ q2 i! ~
36 VLAN_36_R3toSW1
! J1 \3 t5 ]# F& v. G. p68 VLAN_68_SW1toSW3
: B$ ?1 ^! |- d69 VLAN_69_SW1toSW40 l. k! T1 ?! V: e/ ]. [5 s
89 VLAN_89_SW3toSW49 {- H/ P G/ g1 b, U9 C
500 VLAN_500_Client- a' X, r/ j! ~( {
============================================================================================
7 U+ Y2 t) K- W) l/ S6 `; b3 PSW1
# o. a, i8 r1 X- B( z% i" Y1 T2 b3 j! ]* }; x) f+ e2 |; {
vtp version 2
0 c! S8 b3 q' ~6 x" I( a# ~7 Svtp domain CCIE t" |4 R% a2 O( s3 c: |; c
vtp password cisco
) G* d0 R0 _! C" D& p+ }: w% nvtp mode server$ D* V& Z$ E6 L
8 j0 k3 ^! t# x2 H( D2 E
vlan 16
! ^$ N$ H# z& Ename VLAN_16_R1toSW1% R( b9 S. Y0 K+ c5 u
vlan 18$ T8 t5 ^" K/ \, h0 I6 R. s
name VLAN_38_R1toSW3
4 o4 W0 g6 }/ i/ Q: W& [" Jvlan 28
# Z6 K/ a1 }. A7 F& ~name VLAN_28_R2toSW3
2 c9 v; `; }: ~vlan 36
* X! u" G' }7 U5 L# N& Hname vlan_36_R3toSW18 J3 I; `8 |4 J4 j+ s% d
VLAN 68
& O7 }* t# e( N* Cname VLAN_68_SW1toSW3/ Y7 d* S" g8 x* o3 d2 a4 s/ Z. p
vlan 69$ m: S8 {; ]) T! u" N
name VLAN_69_SW1toSW4! A; h7 |9 O9 ?- C6 }
vlan 89- x# i6 v; M4 K3 r! e+ k
name VLAN_89_SW3toSW4- x* A8 N- H2 r. t3 s
vlan 500
% r6 l- p# R+ t. lname VLAN_500_Client$ ?0 E5 g; w. Z" k j" s3 E, b
% B* p. s% V$ F$ j
+ ?: ]0 }! R& z4 k! s5 b
3 I( w: ]( S) n0 b8 A- B+ P: l
SW2-SW4
5 x1 A) {* S4 G' r, Gvtp version 27 v% I) m, ^+ g% ]2 g1 o& |( L' m% M
vtp domain CCIE8 L# R9 o0 D; C* v$ o% R4 }$ c
vtp password cisco5 i, X, h2 Y9 ]- e
vtp mode client
( J; |) }1 s m& _ Y8 J) N: v8 A7 |
SW2-SW4//vlan 同步后
+ i. x6 t H' E$ m* M/ L9 ~9 v. |! }/ r* L1 N
vtp mode transparent
2 T/ Y/ k/ t' o
$ K2 T$ S- [3 T( O8 Z W, g: l/ U {8 ?3 G/ i
--------------------------------------------------------------------------------------------------------------
6 n+ [2 x1 A( _# H. S4 R9 |) F- w1 {1.3 Spanning-Tree Domains for Switched Network Configure the switches according to the following requirements:
$ r2 Y8 r: X2 A% @--------------------------------------------------------------------------------------------------------------
, A( m3 H. x" F" a4 { h5 M
; T* a, Z) G. _$ _/ \! S- Both switches must have one instance per vlan.
4 t- O( o4 M7 T; Y3 r: u- Ensure that SW1 is the Root Switch, and SW2 the Backup Switch for all vlans(obtain the future vlan)( {, L% v& _1 [2 m2 F- f! H
- Configure instance per vlan and rapid transition for forwarding
7 f" q: W$ K% A5 y4 o2 r- Ensure that SW1 will be the Root and SW2 the backup if others switch are connected- - Make sure if furure other switches are added vlans they have lease chance to became root(感谢 爱SLH&mu19861124提示)2 d5 c- P9 h& m% b5 r
6 [' O* g0 k! P9 TSW1-SW4
8 v% C: `! K' J7 Nspanning-tree mode rpvst
7 b' r1 U$ j! f7 D) \7 q! G! cudld enable//单向链路检测
/ V' R5 W/ ]5 p' N' ^* X
4 w& t% G; W' `" Z. z) B: PSW1
# H% _4 {" v* u8 e' H3 [7 ~" g/ }spanning-tree vlan 1-4094 priority 0 // //值越小越优
- N- R9 A3 |8 M7 V' P4 O+ C
8 H& x+ `+ N. A9 s7 xSW2; t) @! w6 _ \
spanning-tree vlan 1-4094 priority 4096 //值越小越优
( p: e2 u! K/ C+ v, w
* h: F; F$ U6 p% YSW3-SW4
; c; z; L: C v8 N/ K# Xinterface range f0/1-249 z9 t# m" A3 L
spanning-tree guard root
5 E2 @' g: r0 I$ @+ W8 y# y
- b9 D8 P0 T0 F0 V% i
/ d- ?+ V* m8 v: o8 k-------------------------------------- d) i, O9 [* W) z$ N
1.4 Switch Trunking and Ether Channel
; z5 R8 z. _2 A+ ]-------------------------------------% Z" v$ z. u% H6 S0 l& r
Use the following requirements to configure the Etherchannel of SW1, SW2, SW3 and SW4:4 S- i* i* S$ k2 f. r
1 Z+ ?+ R6 K2 z- Use encapsulation 802.1q for all cross interface
1 M' S( u- G0 R- Configure Etherchannel use the 802.3ad standard# S: G+ ]0 W1 D
4 ?' g9 U' f* \# b
SW1-SW4
; a0 Z2 F% D+ v) X( yinterface range g0/19 - 24switchport trunk encapsulation dot1q) o( u. u2 J, E% Q% i5 L
switchport mode trunk0 U3 T* `, |# @: C
4 v8 Z, O. {; w4 F+ P1 C; h7 W# L
interface range g0/19 - 200 l% Z4 I( c0 V- i5 I. e$ R
channel-group 14 mode active
, m8 s( q: \# ^ f M2 Binterface range g0/21 - 22
0 Z* K! A- F! ychanngl-group 13 mode acitve0 L7 M* o2 t: K& v7 V. H
interface range g0/23 - 24) m. m* v1 f! w8 @5 o# b
channel-group 12 mode acitve4 U+ k$ n- _$ x! O( a6 J- F& E
7 t& ^% R. T* [1.5 Frame-relay configuration1 c1 c/ o; a1 c {, L
-------------------------------------1 s! p0 Y- p3 B3 I7 c( u
?? - Back to back frame-relay between router R5 and R1 and R1 and R4
* E" U: N% `/ E: P?? - R1 use the sub-interface connect to R41 @% R' c: O) P! p6 g* u4 d
' I9 \& e/ s; _- @& |2 G* M& e6 P" u8 \
R1
! Z5 ^4 ]$ ^9 Jframe-relay switching //???不知需不需要
4 K5 P. P# n# {. pinter s0/0/0
$ Q2 u# A1 i' z0 p$ B& cenc fram
+ K3 g4 i& ]! H& L, [0 [no keepalive
- N! Z5 h: V, @. Nint s0/0/0.yy point-to-point9 H/ K# o' l* ?5 D
ip add YY.YY.14.1
# ? b% Q5 J+ b; G4 }- pfram-relay interface-dlci 104
5 J/ o$ c# E7 [- X9 v8 q" t3 _8 Dno frame-relay inverse-arp
) w1 m* |( G) P5 A7 f
. Z. ]4 I1 t! s- |# H/ U; ^& N
6 I3 I9 i/ F' E* E2 Zinterface s0/0/1) S- N) f) _2 p8 G: U! z# X
ip address YY.YY.15.1 ; |! T7 T {4 {
enc fram
1 J" Y' y/ I+ ~ J: C. [clock rate 640009 \$ W8 C9 {3 J6 M
frame-relay map ip YY.YY.15.5 1053 y$ g2 D @: F7 x8 H$ J7 f
no keepalive
$ a6 u+ M2 `$ \frame-relay interace-dlci 105
1 X6 S. `1 k$ V0 @6 A4 Mno frame-relay inverse-arp
- Z& @. v/ a, V3 l. m6 W7 M
) o" }+ W: v9 ]# e/ W* t$ @2 \R4 ^" M. @6 F0 m0 r6 @& w1 V, M0 A
, Z( \6 p# y1 ^0 f( K7 q: A8 O: m
frame-relay switching //???不知需不需要' d% V7 b0 h$ a
inter s0/0/0
: F. x" r7 }& a3 w' W5 S" U/ y$ j/ K$ M# qenc fram8 H' W1 C; h3 u( |6 n: x
no keepalive6 r3 e" O/ a4 o+ i% T7 d7 K
int s0/0/0.yy point-to-point
' x( }! S; T! j3 O2 d' \ip add YY.YY.14.4" c0 h; Z4 R' q# Q8 H
fram-relay interface-dlci 104
+ I$ I+ U1 f$ g& m. j2 G" x6 Q
: j1 V# k! ~. e1 l& E7 ZR5& r8 V4 H: z' v/ s; J
7 [7 R8 l/ ^+ p
interface s0/0/1
; {0 \# m1 j' v& [% w& d6 hip address YY.YY.15.57 J9 ^5 e6 Q6 C( J& F2 a) W; T
enc fram: B4 T/ G) ~: _( ^: A" s$ K- f$ \
frame-relay map ip YY.YY.15.1 501: v$ G$ J0 b% m0 f% R1 V; H
frame-relay interace-dlci 501
! N: V# K+ K" ^0 i& `0 vno keepalive
) d8 o! ]: [( }- o$ Yno frame-relay inverse-arp
1 B/ G+ v6 g; l2 o1 F1 c6 t$ s6 z( F3 ?6 w" X
4 k( x t+ w; }. l4 N/ {
4 U. o4 ~2 U, d* k" A; z2 A w7 d
9 I7 S) T' Y! N! r |
59#
2013-4-30 14:00:05
回复(0)
收起回复
|