|
The preceding table shows the commands that display the spanning tree status and VLAN 10 is used as command examples. Replace VLAN 10 with a different VLAN ID to review the status for a particular VLAN.
The following examples show how to display general and detailed spanning tree status information. Before running the show commands, ensure that you have run the configuration commands in the previous sections (for example, disabling GVRP, enabling PVRST+, configuring ports as trunk, and enabling VLAN 1, 10, 20, 30, and 40).
TOR-1 SEFOS# show spanning-tree vlan 10 ------------------------------------------------------------------- Spanning-tree for VLAN 10 Root Id Priority 32778 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32778 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Alternate Discarding 2000 128 P2P TOR-1 SEFOS# show spanning-tree active ------------------------------------------------------------------- Spanning-tree for VLAN 1 Root Id Priority 32769 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32769 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/45 Designated Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 10 Root Id Priority 32778 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32778 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 20 Root Id Priority 32788 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32788 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 30 Root Id Priority 32798 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32798 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 40 Root Id Priority 32808 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32808 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P TOR-1 SEFOS#
TOR-1 SEFOS# show spanning-tree detail Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32769, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 9 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 1 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32769, address 00:14:4f:6c:56:6f Designated Bridge has priority 32769, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :2 BPDUs : sent 33 , recieved 46616 Port 45 [Ex0/45] of VLAN 1 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.45 Designated Root has priority 32769, address 00:14:4f:6c:56:6f Designated Bridge has priority 32769, address 00:14:4f:6c:69:ed Designated Port Id is 128.45, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :4 BPDUs : sent 12993 , recieved 0 Port 57 [Ex0/57] of VLAN 1 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32769, address 00:14:4f:6c:56:6f Designated Bridge has priority 32769, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 44091 , recieved 2190 Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32778, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 2 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 10 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32778, address 00:14:4f:6c:56:6f Designated Bridge has priority 32778, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 16 , recieved 46611 Port 57 [Ex0/57] of VLAN 10 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32778, address 00:14:4f:6c:56:6f Designated Bridge has priority 32778, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :6 BPDUs : sent 4860 , recieved 41443 Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32788, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 0 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 20 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32788, address 00:14:4f:6c:56:6f Designated Bridge has priority 32788, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :1 BPDUs : sent 4 , recieved 46607 Port 57 [Ex0/57] of VLAN 20 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32788, address 00:14:4f:6c:56:6f Designated Bridge has priority 32788, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 46280 , recieved 2 Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32798, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 0 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 30 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32798, address 00:14:4f:6c:56:6f Designated Bridge has priority 32798, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :1 BPDUs : sent 4 , recieved 46608 Port 57 [Ex0/57] of VLAN 30 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32798, address 00:14:4f:6c:56:6f Designated Bridge has priority 32798, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 46281 , recieved 2 Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32808, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 3 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 40 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32808, address 00:14:4f:6c:56:6f Designated Bridge has priority 32808, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :1 BPDUs : sent 6 , recieved 46608 Port 57 [Ex0/57] of VLAN 40 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32808, address 00:14:4f:6c:56:6f Designated Bridge has priority 32808, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 46281 , recieved 2 TOR-1 SEFOS#
TOR-1 SEFOS# show spanning-tree vlan 10 active ------------------------------------------------------------------- Spanning-tree for VLAN 10 Root Id Priority 32778 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32778 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P TOR-1 SEFOS#
TOR-1 SEFOS# show spanning-tree vlan 10 detail Bridge is executing the rstp compatible PVRST Protocol Bridge Identifier has priority 32778, Address 00:14:4f:6c:69:ed Configured Hello time 2 sec, Max Age 20 sec, Forward Delay 15 sec Number of Topology Changes 2 Time since topology Change 0 seconds ago Transmit Hold-Count 3 Max Age 20 Sec, Forward Delay 15 Sec, Hello Time 2 Sec Port 1 [Ex0/1] of VLAN 10 is Root , Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.1 Designated Root has priority 32778, address 00:14:4f:6c:56:6f Designated Bridge has priority 32778, address 00:14:4f:6c:56:6f Designated Port Id is 128.3, Designated PathCost 0 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :3 BPDUs : sent 16 , recieved 46694 Port 57 [Ex0/57] of VLAN 10 is Designated, Forwarding Port PathCost 2000 , Port Priority 128 , Port Identifier 128.57 Designated Root has priority 32778, address 00:14:4f:6c:56:6f Designated Bridge has priority 32778, address 00:14:4f:6c:69:ed Designated Port Id is 128.57, Designated PathCost 2000 Timers: Hello Time - 2, MaxAge - 20, Forward Delay - 15, Hold - 1 No of Transitions to forwarding State :6 BPDUs : sent 4942 , recieved 41443 TOR-1 SEFOS#
TOR-1 SEFOS# show spanning-tree vlan 10 interface extreme-ethernet 0/1 Role State Cost Prio ---- ----- ---- ---- Root Forwarding 2000 128 TOR-1 SEFOS#
TOR-1 SEFOS# show spanning-tree vlan 10 summary Spanning tree enabled protocol is PVRST Spanning-tree pathcost method is long PVRST Port Roles and States Port-Index Port-Role Port-State Port-Status ---------- --------- ---------- ----------- 1 Root Forwarding Enabled 57 Designated Forwarding Enabled TOR-1 SEFOS#