如何查看cisco 生成树状态
Role(角色):
1.Desg(指定端口) 2。Root(根端口) 3。Altn(替换端口)
Sts(状态):
1。FWD(转发) 2。BLK(阻塞) 3。BKN* 4.LRN(学习)
ZHC6506S_TXZX2F_1#show spanning-tree interface gi 1/5
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN0025 Desg FWD 4 128.5 P2p
VLAN0052 Desg FWD 4 128.5 P2p
VLAN0053 Desg FWD 4 128.5 P2p
VLAN0600 Desg FWD 4 128.5 P2p
ZHC6506S_TXZX2F_2#show spanning-tree vlan 52
VLAN0052
Spanning tree enabled protocol ieee
Root ID Priority 0
Address 001f.2699.9034
Cost 8
Port 1 (GigabitEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32768
Address 0023.33fe.0e34
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/1 Root FWD 4 128.1 P2p # 主根 转发
Gi3/45 Desg BKN*19 128.301 P2p *ROOT_Inc #指定端口 BKN*19
Gi5/1 Altn BLK 4 128.513 P2p # 替换端口 阻塞
Gi6/1 Altn BLK 4 128.641 P2p # 替换端口 阻塞