Catalyst show spanning-treeコマンドの使い方

環境
Catalyst

構文
show spanning-tree [ vlan “VLAN-ID" | mst [ インスタンス番号 ] ]
show spanning-treeコマンドでどのスイッチがルートブリッジになっているか、どのインターフェースがブロッキングになっているか等、
スパニングツリーの状態を確認します。

操作例

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Cisco# show spanning-tree
VLAN0010
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address xxxf.1111.xxxf
Cost 8
Port 1 (GigabitEthernet1/0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32778 (priority 32768 sys-id-ext 10)
Address 1111.xxxf.1111
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
--------- ---- --- ---- -------- ------
Gi0/1 Root FWD 8 128.1 P2p
Gi0/2 Back BLK 14 128.12 P2p
Cisco# show spanning-tree VLAN0010 Spanning tree enabled protocol ieee Root ID Priority 24577 Address xxxf.1111.xxxf Cost 8 Port 1 (GigabitEthernet1/0/1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32778 (priority 32768 sys-id-ext 10) Address 1111.xxxf.1111 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Role Sts Cost Prio.Nbr Type --------- ---- --- ---- -------- ------ Gi0/1 Root FWD 8 128.1 P2p Gi0/2 Back BLK 14 128.12 P2p
Cisco# show spanning-tree
VLAN0010
 Spanning tree enabled protocol ieee
 Root   ID Priority   24577
           Address    xxxf.1111.xxxf
           Cost       8
           Port       1 (GigabitEthernet1/0/1)
           Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 Bridge ID Priority   32778  (priority 32768 sys-id-ext 10)
           Address    1111.xxxf.1111
           Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
           Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
--------- ---- --- ---- -------- ------
Gi0/1     Root FWD 8    128.1    P2p
Gi0/2     Back BLK 14   128.12   P2p

 

Cisco

Posted by arkgame