- 积分
- 318
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
发表于 2013-4-30 14:00:05
|
显示全部楼层
自己先解的,有不对的一起讨论
本帖最后由 jww330015 于 2013-4-30 15:26 编辑
* U4 P* q" A. Q, |; t5 S4 ]7 a* y! N) d
1.2 Implement Access Switch Ports of Switched Network2 }# x$ K* j, h9 ~
-----------------------------------------------------
O+ q8 q: M L; o) CConfigure all of the appropriate non-trunking switch ports on SW1 – SW4 according to the following' }: l% \! ?2 D$ T
2 r A, f5 ?7 F* n
- SW1 is the server for the VLAN Trunking Protocol version 2 domain "CCIE" (VTP password "cisco" )9 T" s" s( e/ I+ A0 n
- SW2, SW3, SW4 are expecting SW1 update their VLAN database when needed
5 ^. m, k3 Z2 h/ R- X" y- Configure the VLAN ID and Name according to the table below (case sensitive)
8 u2 s* U, S; Q% \- Configure the access ports for each VLAN as per the diagram% c& G) \: q5 Y- V3 D4 n6 O
- Configure all the Switch mode are Transparent after synchronization the VLAN database.
' k- t$ p+ N+ u( W, Y1 S7 i# R9 t. X0 m
VLAN_ID NAME
" [# G4 l& f1 |! W% f, \5 w9 \16 VLAN_16_R1toSW1. Y/ R. `: f! I7 [3 [; e8 W
18 VLAN_18_R1toSW3" e( p/ i6 y' K
28 VLAN_28_R2toSW3
: v7 \0 M5 L' U# R36 VLAN_36_R3toSW1% b) _0 _0 r# ^( b2 o8 X% b5 N
68 VLAN_68_SW1toSW3/ Q3 T- t- N- G) t, s# X2 w: }
69 VLAN_69_SW1toSW4! X% |9 G4 R+ ?. c
89 VLAN_89_SW3toSW40 k9 f& _8 N! w% l0 b
500 VLAN_500_Client! o, ?& I2 }! p9 D- S4 P. E, g
============================================================================================
' o f3 {) p% t* zSW1
, M+ `+ u6 ]7 P. | S- @4 `/ ? @4 Y+ @& g% p
vtp version 2% |9 J7 g2 B$ v4 }7 M
vtp domain CCIE9 y# M' D# ]: ?1 W7 V9 G/ Q6 t5 c
vtp password cisco
# ?6 w# \! {8 R- `7 C0 tvtp mode server
# K9 o; S6 J1 a. ^! p2 i% A! q
( c; B5 V4 r3 b/ V" d, u( svlan 16
+ ~# L( X: o% n' P7 G9 cname VLAN_16_R1toSW15 c6 Q, V. T X1 @1 \
vlan 18
, ^5 g3 }: j' ~( ^" ?4 gname VLAN_38_R1toSW3
8 u" H; c9 z; c4 K1 O5 ~' uvlan 285 E T1 P+ G/ @) d4 r, s
name VLAN_28_R2toSW3
* a3 C+ W: z: @$ @; M2 ?vlan 36
9 @( s% C; H( y; P, Q2 _5 ?; O( x4 ^name vlan_36_R3toSW13 H- A1 A; {3 U" E& J
VLAN 68$ m8 w& [: n y, K: ]2 E3 D3 Y
name VLAN_68_SW1toSW30 }) f# Q# p5 Z! y& H
vlan 69
# j9 I& D$ j1 V) Zname VLAN_69_SW1toSW4* I2 ]9 l, ?0 y, n, O `1 ]
vlan 89
' m) n1 o( d" E4 U3 Sname VLAN_89_SW3toSW4: b4 o; p$ q! j$ Y+ _. @
vlan 500
+ |1 n" j8 r) v8 {- @* vname VLAN_500_Client d9 ]8 F; x+ @
" ?6 }) x- _% e+ X3 b# p. J0 U
. ^; X$ v7 F, [; r
8 S; B% ^- S* v- {# ISW2-SW4
, m8 k/ q& j* W$ q# G U: n" Rvtp version 27 Z5 r1 h- h% r- N& M# I3 F6 @
vtp domain CCIE: q- I1 F) u+ h8 T2 s1 }$ I- s
vtp password cisco
4 x Z/ p4 K9 h% Y `vtp mode client
& Z r/ m: ?4 ?- Y
* Q" Q. H) T/ GSW2-SW4//vlan 同步后. F- B" s4 B0 f" c% ~1 W
$ @4 c9 T) X0 _! Ivtp mode transparent5 q) ?$ f1 ]$ m. i( E% p1 y/ _9 Z
+ \3 ^5 N* Q+ c2 T" z1 [6 s0 U5 C* @, @, @0 J K
--------------------------------------------------------------------------------------------------------------9 w- J. G' s# Y$ l# C+ u. B
1.3 Spanning-Tree Domains for Switched Network Configure the switches according to the following requirements:% G9 H" P) W6 _: i5 X: t* `
--------------------------------------------------------------------------------------------------------------& {5 _6 H4 T2 D3 P: X
1 d3 m$ `$ {, D. H6 r8 v
- Both switches must have one instance per vlan.
/ S# t. g v# k. \3 F- Ensure that SW1 is the Root Switch, and SW2 the Backup Switch for all vlans(obtain the future vlan)
$ W4 @$ o5 d/ `6 o. Z- Configure instance per vlan and rapid transition for forwarding
' E4 `" D3 C- ~% j- {- 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提示)' @! v8 A0 e2 v1 o: s! L2 K
8 L8 a6 M* Y2 h
SW1-SW4
: b5 r: O) u+ uspanning-tree mode rpvst
J- f& W6 N' t+ [udld enable//单向链路检测
- m. y* Z! |- @% g+ M7 r. y& e2 G
# t* _2 m9 i/ [, ^SW1. k# U! u4 ~2 W k' q# s# }% Z
spanning-tree vlan 1-4094 priority 0 // //值越小越优
5 J1 J# k& @) F" X D- Y' K
- [4 y$ n0 A0 x* S2 `4 _- kSW2* P: i( }! f6 \3 b
spanning-tree vlan 1-4094 priority 4096 //值越小越优
* c+ K; ^/ [/ Y4 ^2 {! i- W8 S! i; N
SW3-SW4
7 a7 Q$ v+ e/ D5 }# k" U$ Sinterface range f0/1-24. W+ F1 x0 G4 O. g; u l9 q+ b
spanning-tree guard root# a. V. d1 q. s( X) z. k
1 L$ h# L: V4 d1 L" x* I0 W* C
' C; O* v, {. C6 W$ b) m-------------------------------------
3 y5 u4 l, m, q: Q1.4 Switch Trunking and Ether Channel
* s8 j# f" y+ F) b' O-------------------------------------5 a( p' t! T# M7 B, P5 `1 B
Use the following requirements to configure the Etherchannel of SW1, SW2, SW3 and SW4:
Z; o2 c4 t. G o9 J2 v1 U0 L/ r( V2 K* l. r6 m/ Y( d
- Use encapsulation 802.1q for all cross interface
9 Z) W& B6 |/ U" i7 p0 ?. n- Configure Etherchannel use the 802.3ad standard; a& D9 F1 B- l) I- \6 A* U* l
/ _" l, G4 e! H+ D) b
SW1-SW4
/ c- O+ v; j" l2 a: vinterface range g0/19 - 24switchport trunk encapsulation dot1q
6 L+ ^6 a4 o) x9 i# Uswitchport mode trunk; ] c+ K. N& Z- K
9 R+ Z4 W, F/ M2 q- y' @2 u0 h1 minterface range g0/19 - 204 D( C% M: x! o2 K+ I" Y
channel-group 14 mode active
( [' b2 t' `2 d0 z* einterface range g0/21 - 22
9 z% m0 e, x, k& `3 u! O% @+ }( x6 Kchanngl-group 13 mode acitve
8 o, B5 u% N/ D) Dinterface range g0/23 - 24
# k0 B1 \8 P2 ichannel-group 12 mode acitve
, h, r' ^6 _2 F9 f
) P2 g9 r3 p `# d1.5 Frame-relay configuration
$ {, {: L+ T% R+ r( Q-------------------------------------
: ^$ M# F, S$ }# \2 |, H?? - Back to back frame-relay between router R5 and R1 and R1 and R4
6 } [9 N+ d# c9 F! Z1 b! i$ k& t: g?? - R1 use the sub-interface connect to R4
. H. O$ Z) \: ~. s4 E7 E; k' w$ m e
R1. \+ U4 k, V0 ~& X" g
frame-relay switching //???不知需不需要( \! W5 _. O) O w$ s6 H8 \
inter s0/0/0
8 i' i7 u! R @' p. l2 Cenc fram* ~" e* p: S- b0 u) T1 B$ d
no keepalive
9 \4 [% L) T# |int s0/0/0.yy point-to-point3 d+ F: A) l' ?
ip add YY.YY.14.1
; R. s, Q% c7 b* c0 J0 a1 cfram-relay interface-dlci 104+ P4 _% T+ r5 Q6 U3 M" @
no frame-relay inverse-arp; j7 l5 J" W; l( o- I2 R6 A+ q
) J9 d# E' U4 z% \6 v7 w" U5 `* u* i* J) M: i$ Q
interface s0/0/10 \& T( F/ S3 M' Q5 x
ip address YY.YY.15.1
7 I# r" B u2 K( A, J6 |# tenc fram* @/ B9 o3 [0 z# c
clock rate 640009 h+ t( {5 p. A1 H: \7 T. ~
frame-relay map ip YY.YY.15.5 1057 ^- [2 r" u i9 _+ |0 i, N
no keepalive6 J$ A4 q' S* p9 r9 ]. J
frame-relay interace-dlci 105% w5 ]/ w& H7 Q* ~* G4 `: P
no frame-relay inverse-arp
" W% x: f7 v: c+ t( }9 n$ _9 j8 ^; l2 e' j
R4
. U, ^- A6 j' ]% i$ c. R8 y8 ]. ]
& V$ \0 U2 l3 d# S7 {frame-relay switching //???不知需不需要 ^. B6 o! I! l, }
inter s0/0/0 ) m# `3 j g6 k( D, {# W
enc fram4 B( s$ M/ j3 [% I2 y
no keepalive
V; s- t- U' g% r' i+ N& oint s0/0/0.yy point-to-point
3 j2 ~7 v, q4 V' {$ M+ }ip add YY.YY.14.4
4 l: `/ |9 E) ^ P% m/ Vfram-relay interface-dlci 104- j6 @, p8 A# q5 E% n
% l+ J" ^) N' |2 e
R5
8 X" P0 k/ u% ]2 b5 [; f7 E4 P* c$ j! s2 C
interface s0/0/1
- N5 [. }0 P/ u; r' K; Iip address YY.YY.15.5& k; s+ t$ Y3 a( w/ F
enc fram: z$ e) V/ h" a+ i- [
frame-relay map ip YY.YY.15.1 501
& H: l; Q) f, R" l8 Iframe-relay interace-dlci 501 Y+ a# R5 |* p
no keepalive2 }$ `; Q, v* r; {! M
no frame-relay inverse-arp- r+ l2 f8 B7 ~) O3 V
+ N. Q% y; w( |/ q8 X# U9 U! x
# |" D" B2 p, N; y
( R' \1 _1 L' |; r8 N' l
, V/ ^, F+ P& L9 N, F
|
59#
2013-4-30 14:00:05
回复(0)
收起回复
|