- 积分
- 318
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
发表于 2013-4-30 14:00:05
|
显示全部楼层
自己先解的,有不对的一起讨论
本帖最后由 jww330015 于 2013-4-30 15:26 编辑
" ^: G. D- Q+ L1 K" L- q+ i( z( z+ P# ~
1.2 Implement Access Switch Ports of Switched Network
3 i4 {) C0 G) u8 H5 }; ~7 m-----------------------------------------------------
0 q k, K2 S, U% p& s7 c$ nConfigure all of the appropriate non-trunking switch ports on SW1 – SW4 according to the following' L) f* D0 }/ E$ M" ~
/ f1 T- [- D) h7 `- SW1 is the server for the VLAN Trunking Protocol version 2 domain "CCIE" (VTP password "cisco" )/ {& N0 u: y: R4 Y$ w( O9 \' J
- SW2, SW3, SW4 are expecting SW1 update their VLAN database when needed& a0 G+ x' I/ w9 E4 {* ?
- Configure the VLAN ID and Name according to the table below (case sensitive)% O- D. M( P! ]9 u- _" U2 R& G6 C
- Configure the access ports for each VLAN as per the diagram
7 b- B/ @( m% q% Q$ [2 }0 K- Configure all the Switch mode are Transparent after synchronization the VLAN database.! |, C) }2 d: B4 v1 b9 \- U
. O( U2 s4 B) u! H# WVLAN_ID NAME
; u) A* J C) }, H$ G. a7 q' w/ o16 VLAN_16_R1toSW16 u" c: h7 O$ a# `# ^
18 VLAN_18_R1toSW3
' l3 C' f8 m$ G9 n0 Z+ \28 VLAN_28_R2toSW30 t" i$ \/ H! f# z% K6 }
36 VLAN_36_R3toSW1+ ?& X& A0 f- m* n3 y- c$ m# M
68 VLAN_68_SW1toSW3
+ {: X d+ E9 X69 VLAN_69_SW1toSW4
4 Q1 k# F" T: ?2 ^0 [: w0 r! e6 p' V89 VLAN_89_SW3toSW44 o; d4 e" q% n; D1 c* c; G# ^
500 VLAN_500_Client
4 c J0 L* W! f* @============================================================================================6 O5 A, }3 O4 @# A* x L( F
SW1
: ?8 U9 V- k' ^6 N+ g k1 F! [7 V$ H3 Z' T- `2 {
vtp version 2, H" ?( s% \6 Y
vtp domain CCIE
) c2 W# ]3 z, i+ ^8 M" n7 y+ ivtp password cisco i0 ] y, R- B+ b- f
vtp mode server
0 b5 ^1 n: w: q' \ A5 \, f
0 W- r2 l r& \! o* H0 w8 \; C7 y( ?vlan 161 f M4 k4 o9 C. ^* h8 n
name VLAN_16_R1toSW1
6 ^( l7 A5 r3 W' vvlan 18
7 l5 Z Z7 s, Y; d, A. gname VLAN_38_R1toSW3
' B3 P6 V- n5 G4 H3 Kvlan 281 j7 H# o3 W) M
name VLAN_28_R2toSW3& I) Y9 H( [. y( R2 I
vlan 36
" p1 K r( w% h2 d# Y8 y8 R$ r1 Tname vlan_36_R3toSW1! b5 \0 ?8 l- a b
VLAN 68: }( E) o2 ?' f$ | d* x8 p- O
name VLAN_68_SW1toSW32 W! k* a- \- t* q1 c8 G: T
vlan 69
: Q: J* I& g; c+ R+ ~name VLAN_69_SW1toSW4
: U! n# Y; S+ c L3 e, Z) i" h: jvlan 89# J" N- u1 h8 ?# R0 n( L1 L/ |
name VLAN_89_SW3toSW4; n1 y" j, Z+ q% j+ i
vlan 5004 k9 k8 [6 ]8 x0 B5 p" H( B) v2 o
name VLAN_500_Client/ R% k; s! ~& O; G5 |5 ]% ?2 s
4 P4 G: n' u" [% B: X, e* l
# O T9 D' S o s, ]) O2 t7 i
SW2-SW4
. ], B2 I$ ^$ M+ avtp version 26 q2 K9 |/ _ Z) ` h I' x
vtp domain CCIE
. q5 I2 \; R- M0 Zvtp password cisco
9 F& ~0 _$ F& T/ dvtp mode client+ A7 Q; n& q- z4 F: }; M o
7 J* X; i8 b; u- YSW2-SW4//vlan 同步后
) W6 u, ^/ s: {( m1 [# ~4 _. L0 P" O$ l& w0 G# M9 ?3 k4 q
vtp mode transparent
. ]; a ~& O& R" Z* p& g7 p0 Q. M+ c% C& h* N/ f
8 O# ~( n7 X v6 D3 h4 R* i6 @/ u--------------------------------------------------------------------------------------------------------------
; x% D2 P" s0 C3 m3 ^1 e6 J1.3 Spanning-Tree Domains for Switched Network Configure the switches according to the following requirements:
; C) \5 \6 R; d) N/ g& H ^+ t. E( X--------------------------------------------------------------------------------------------------------------7 G6 k; o; D7 m( x
8 J# _1 I4 n2 ^1 q7 U; Z
- Both switches must have one instance per vlan.4 A' Q" o! V" \- s3 m4 ?
- Ensure that SW1 is the Root Switch, and SW2 the Backup Switch for all vlans(obtain the future vlan)$ K/ P) N- ~2 E$ X# B
- Configure instance per vlan and rapid transition for forwarding1 p% E/ L, W' E$ X' P
- 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提示)( B5 r; h7 C0 V8 f
. \+ s$ A5 f2 K9 _0 U/ P9 M- w
SW1-SW4$ m+ k* e% y" [, p
spanning-tree mode rpvst
2 j0 Q" c$ b9 E* L& G/ Hudld enable//单向链路检测5 ]4 b9 I* R6 h
# E, K: `, e- n* B
SW14 w. x; ]5 D% {! _" R6 n% Q. H
spanning-tree vlan 1-4094 priority 0 // //值越小越优* r2 |" w ^1 f6 g: g. w' `
$ q6 u! ~$ j" N; k$ NSW2
6 b, t, J ^& r, P/ ]spanning-tree vlan 1-4094 priority 4096 //值越小越优
9 w, }2 w5 |) U. ]# Z2 n) z' B) K
; C5 v8 {" I! w$ V8 ?0 Y0 vSW3-SW46 e$ i( }; R) F5 S
interface range f0/1-242 w S# p( i2 x V9 f8 Z. U
spanning-tree guard root) w7 X+ R: R5 n o* }
& E$ T( O$ O% N+ g$ Q
! P( i8 [; u& L! X: K-------------------------------------
5 i% i+ {# ]' i, ^# Z5 |1.4 Switch Trunking and Ether Channel
' E; G9 X4 P1 v6 a# g-------------------------------------& |! p P. Z% E6 c7 Z: Z f
Use the following requirements to configure the Etherchannel of SW1, SW2, SW3 and SW4:
' F* {1 a# h3 @* O6 G4 i% Z0 ] A, [1 z& _. d5 L; o T. [
- Use encapsulation 802.1q for all cross interface( L0 l- K% v" W- m8 O
- Configure Etherchannel use the 802.3ad standard
* e4 Y1 ~- V3 g* O4 w2 J0 ^: k
7 Y6 K2 r1 u4 D, q5 \2 ]SW1-SW4$ F# ?, y' R' t3 N/ h3 h
interface range g0/19 - 24switchport trunk encapsulation dot1q
. x e$ ^ ]% V; xswitchport mode trunk
3 {" O' n( F8 F+ z. e+ v
0 P' ]3 c! U) Z, Z( o. R& Minterface range g0/19 - 20
9 U1 V# h8 E! A! W" {5 wchannel-group 14 mode active
- g. [4 e- q; S V( a# kinterface range g0/21 - 22
, P) O( a/ {$ r3 e2 wchanngl-group 13 mode acitve
3 N8 a- u- }# Q4 [5 M1 o3 B6 ^interface range g0/23 - 24 e, T. d' G; I* A, x- p
channel-group 12 mode acitve, y9 L7 }6 f* V, A' Q
( m4 y" }! w9 b0 l* |, |
1.5 Frame-relay configuration
1 F# H+ Y4 _3 A-------------------------------------4 O8 e) a8 l! Z2 {" O
?? - Back to back frame-relay between router R5 and R1 and R1 and R4$ m3 ~( q& {2 F% W; G
?? - R1 use the sub-interface connect to R4
4 A3 W/ K( C- D# F8 g4 x2 p9 j( H, Q \; l* A" W! `; u
R1
4 ^3 [9 {. `: u3 s a4 Bframe-relay switching //???不知需不需要6 D$ U3 i+ Z) {$ a r; h+ o
inter s0/0/0
. b7 ~9 r# t, M: R- v8 |6 zenc fram! \3 X3 s `6 w1 G5 K$ b
no keepalive
: q1 m4 _% A; Q7 e- b7 E, {int s0/0/0.yy point-to-point
+ s; w S0 T2 Z5 N# ]' h2 _/ ?ip add YY.YY.14.12 @9 w& ~8 [) D6 M0 X, z) P3 l
fram-relay interface-dlci 104
4 M) h( }$ P+ X4 |5 jno frame-relay inverse-arp
1 p2 x' m2 {6 C k8 G# W$ t9 r( O0 |$ A8 i5 k
* W: {; x7 T+ D1 u- I6 W! d/ I' kinterface s0/0/13 O9 o) _( {/ q5 q' d# S7 w9 P
ip address YY.YY.15.1 7 i: @6 S- x+ \! q+ q7 T
enc fram
% h% Y& b8 j, r( y1 |6 p1 @clock rate 64000
9 @4 M$ t3 N s, j$ Kframe-relay map ip YY.YY.15.5 105
% s. x8 p& ^; N! E8 S- Mno keepalive
: ?' b, n7 K' x4 R" c; iframe-relay interace-dlci 105
0 [1 S. K7 M4 d3 `( R. i8 Ono frame-relay inverse-arp
4 Z T) [( `7 {
, N% z" I: J; b6 m' }5 J5 v# dR44 c6 P W/ C4 |
" a* b& @! Y( j8 ~( aframe-relay switching //???不知需不需要
$ f3 G$ e. X" Dinter s0/0/0 7 H0 F4 `$ x, u; Y
enc fram
7 i# I- \& s+ E9 ^: ]9 Kno keepalive1 Z7 O# ^- }+ j* i6 c2 M
int s0/0/0.yy point-to-point
( J9 M7 T0 |* x- A3 Q1 dip add YY.YY.14.4( H* ]) m* t4 O- {4 n4 ^- z
fram-relay interface-dlci 104% x5 i1 Q/ s1 t: o3 t
7 Q0 @, q% r) Q$ H* a* c; e) n7 N
R5
6 K) ], b% J) P$ V
. [% L; h) D3 iinterface s0/0/1 m0 J2 O) c# x- C, t5 |: Q
ip address YY.YY.15.50 o9 Z: v$ h" X6 a& C& q$ a
enc fram
8 o) N4 T7 k* o$ P4 C% m( T0 M% dframe-relay map ip YY.YY.15.1 501
" n2 j) ?2 l/ ]; t: j4 o2 ^, ]frame-relay interace-dlci 5011 r" D& R8 |) c/ ` X5 P+ m
no keepalive
% g( z0 L4 K! d3 p7 E0 |* ino frame-relay inverse-arp
[' a! `3 { P2 z
/ \) `' P1 z2 E3 ^) H
; |& e( _. p# {( Q6 w! x; x/ t6 H9 [! `# s, f- i) }$ P
! O2 m& J' m# v2 q |
|