spanning-tree调试

Posted on 2006-11-29 20:19  苹果引擎  阅读(529)  评论(0编辑  收藏  举报

 

启动spanning-tree

Switch(config)#spanning-tree

修改交换机spanning-tree优先级

Switch(config)# spanning-tree priority 1000

 

Switch(config)#interface ethernet 2

端口优先级

Switch(config-if-ethernet2)# spanning-tree port-priority 100

 

端口成本

Switch(config)#interface ethernet 2

Switch(config-if-ethernet2)# spanning-tree cost 50

 

显示spanning-tree状态

Switch#show spanning-tree

显示交换机端口spanning-tree状态

Switch#show spanning-tree interface ethernet 1

Copyright © 2024 苹果引擎
Powered by .NET 8.0 on Kubernetes