cisco?·óé????μ??ù±?????ê??é
????êμ?é??3?£o????D?Díí???
ó2?t?·?3£o6ì¨PC?ú£?3ì¨?????ú£?3ì¨?·óé£?3?ù??2???£?7?ù?±í¨???£
èí?t?·?3£owindows xp 2ù×÷?μí3 3????????£
êμ?é2??è£o
1.°′????í?á??ó?????ú£??·óé?÷£?PC?úμ?êy?Y???£
Pc1?----¨¤Sw1 7o????ú Pc2?----¨¤Sw2 7o????ú
Pc3?----¨¤Sw1 17o????ú Pc4?----¨¤Sw2 17o????ú
Pc5?----¨¤Sw3 5o????ú pc6?----¨¤Sw3 12o????ú
Sw1 24o????ú?----¨¤Sw2 24o????ú
Sw1 23o????ú?----¨¤Router1 e0/0???ú
Router1 e1/1???ú?----¨¤Router2 e0/0???ú
Router2 e1/2???ú?----¨¤Router3 e1/1???ú
Router3 e0/0???ú?----¨¤Switch3 24o????ú
2.switch1μ?????è???£o
switch>enable
switch#config terminal
switch(config)#hostname sw1
sw1(config)#no ip domain-lookup
sw1(config)#line console 0
sw1(config-line)#exec-timeout 0 0
sw1(config-line)#logging synchronous
sw1(config-line)#enable password 123
sw1(config)#exit
sw1(config)#vlan database
sw1(vlan)#VTP domain abc.com
sw1(vlan)#vtp password cisco
sw1(vlan)#exit
sw1#config terminal
sw1(config)#interface f0/23
sw1(config-line)#switch mode trunk
sw1(config-line)#no shutdown
sw1(config-line)#interface f0/24
sw1(config-line)#switch mode trunk
sw1(config-line)#no shutdown
sw1(config-line)#exit
sw1(config)#vlan 2,3
sw1(config)#interface range f0/1-10
sw1(config-if-range)#switchport access vlan 2
sw1(config-if-range)#interface range f0/11-22
sw1(config-if-range)#switch port access vlan 3
3.switch2????è???£o
switch>enable
switch#config terminal
switch(config)#hostname sw2
sw2(config)#no ip domain-lookup
sw2(config)#line vty 0 4
sw2(config-line)#login
sw2(config-line)#password cisco
sw2(config-line)#exit
sw2(config)#line console 0
sw2(config-line)#exec-timeout 0 0
sw2(config-line)#logging synchronous
sw2(config-line)#exit
sw2#vlan database
sw2(vlan)#vtp mode client(Dé?a?ú?D?avtp client)
sw2(vlan)#vtp domain benet.com
sw2(vlan)#vtp password 123
sw2(vlan)#exit
sw2#config terminal
sw2(config)#interface range f0/1 - 10
sw2(config-if-range)#switchport access vlan 2
上一页12 下一页