<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
 
实验目的:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

通过配置交换机的优先级设置根网桥,来实现网络的负载分担,并配置骨干交换机之间的EtherChannel

配置连接主机的速端口和上行速端口。
 
实验拓扑:

 
 
 
 
实验步骤

 
v 配置SwAVLAN 12的根网桥

SwA(config)#spanning-tree vlan 1 root primary

SwA(config)#spanning-tree vlan 2 root primary

 

v 配置SwBVLAN 34中优先级为4096

SwB(config)#spanning-tree vlan 3 priority 4096

SwB(config)#spanning-tree vlan 4 priority 4096
v 查看配置结果

SwB# show spanning-tree
v 配置交换机C上连接主机的端口为速端口

SwC(config)#interface range fastEthernet 0/1 - 20

SwC(config-if-range)#spanning-tree portfast

v 在交换机C上配置上行速链路

SwC(config)#spanning-tree uplinkfast