(2)配置交换机为根网桥: spanning-tree vlan vlan-list root primary (指定根网桥)| secondary(备用根网桥)
(3)修改交换机的优先级: spanning-tree vlan vlan-list priority bridge-priority(网桥优先级)
(4)修改端口路径成本: spanning-tree vlan vlan-list cost cost(成本)
(5)修改端口优先级: spanning-tree vlan vlan-list port-priority priority(端口优先级)
(6) 配置上行速链路: spanning-tree uplinkfast(上行链路)
(7)配置速端口: spanning-tree portfast(速端口)
(8)查看生成树: show spanning-tree
(9)查看某个VLAN的生成树详细信息:show spanning-tree vlan vlan-id detail
本文出自 “she” 博客,请务必保留此出处http://375362she.blog.51cto.com/365362/74455