Router#config t
Router#vlan database
Router(vlan)#exit
Router#cofnig
Router#configure terminal
Router(config)#hostname SA
SA(config)#exit
SA#vlan database
SA(vlan)#vtp domain zixu
SA(vlan)#vtp server
SA(config)#interface range f0/1 - 2,f0/12 - 13
SA(config-if-range)#switchport mode trun将端口1、2、12、13做中继链路
SA(config-if-range)#switchport trunk encapsulation dot1q 协议封装默认
SA(config-if-range)#exit
SA(vlan)#vlan 10
SA(vlan)#vlan 20
SA(vlan)#vlan 30
SA(vlan)#vlan 40
SA(vlan)#vlan 50
SA(vlan)#vlan 60
SA(vlan)#vlan 70
SA(vlan)#vlan 80
SA(vlan)#vlan 90
SA(vlan)#vlan 100
SA(vlan)#exit
SA(config)#spanning-tree vlan 60 priority 409将VLAN60-100设置SB次根
SA(config)#spanning-tree vlan 60 priority 4096 实现冗余性
SA(config)#spanning-tree vlan 70 priority 4096
SA(config)#spanning-tree vlan 80 priority 4096
SA(config)#spanning-tree vlan 90 priority 4096
SA(config)#spanning-tree vlan 100 priority 4096
SA(config)#
SA(config-if-range)#channel-group 1 mode on
SA(config-if-range)#exit
SA(config)#
SA(config-if)#shutdown
Router#config t
Router#vlan database
Router(vlan)#exit
Router#cofnig
Router#configure terminal
Router(config)#hostname SB
SB(config)#exit
SB#vlan database
SB(vlan)#vtp domain zixu
SB(vlan)#vtp server
SB(config)#interface range f0/1 - 2,f0/12 - 13
SB(config-if-range)#switchport mode trun将端口1、2、12、13做中继链路
SB(config-if-range)#switchport trunk encapsulation dot1q协议封装默认
SB(config-if-range)#exit
SB(config)#spanning-tree vlan 20 priority 4096实现冗余性
SB(config)#spanning-tree vlan 30 priority 4096
SB(config)#spanning-tree vlan 40 priority 4096
SB(config)#spanning-tree vlan 50 priority 4096
SB#configure terminal
SB(config)#interface range f0/1 – 2将端口1和2做以太网捆绑链路
SB(config-if-range)#channel-group 1 mode on
SB(config-if-range)#exit
SB(config)#
Router#config t
Router#vlan database
Router(vlan)#exit
Router#cofnig
Router#configure terminal
Router(config)#hostname SC
SC(config)#exit
SC#vlan database
SC(vlan)#vtp domain zixu
SC(vlan)#vtp server
Router#config t
Router#vlan database
Router(vlan)#exit
Router#cofnig
Router#configure terminal
Router(config)#hostname SD
SD(config)#exit
SD#vlan database
SD(vlan)#vtp domain zixu
SD(vlan)#vtp server
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
1 Po1(SU) Fa0/1(P) Fa0/2(P)
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
1 Po1(SU) Fa0/1(P) Fa0/2(P)
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
50 enet 100050 1500 - - - - - 0 0
60 enet 100060 1500 - - - - - 0 0
70 enet 100070 1500 - - - - - 0 0
80 enet 100080 1500 - - - - - 0 0
90 enet 100090 1500 - - - - - 0 0
100 enet 100100 1500 - - -
62606585 网络技术联盟(4)