Type the following:
iS5comm# show spanning-tree active
Root Id Priority 32768
Address 00:01:02:03:04:01
Cost 0
Port 0 [0]
This bridge is the root
Max age 20 sec 0 cs, forward delay 15 sec 0 cs
Hello Time 2 sec 0 cs
MST00
Spanning Tree Protocol Enabled.
MST00 is executing the stp compatible Multiple Spanning Tree Protocol
Bridge Id Priority 32768
Address 00:01:02:03:04:05
Max age is 20 sec 0 cs, forward delay is 11 sec 0 cs
Hello Time is 2 sec 0 cs
Name Role State Cost Prio Type
---- ---- ----- ---- ---- ------
Gi0/1 Designated Forwarding 200000 128 P2P
Gi0/2 Designated Forwarding 200000 128 SharedLan
iS5comm(config)#no spanning-tree detail
Spanning tree Protocol Enabled.
MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
Bridge Identifier has Priority 32768, Address 00:01:02:03:04:01
Configured Max age 20 sec 0 cs, Forward delay 11 sec 0 cs
Configured Hello Time 2 sec 0 cs
We are root of the spanning tree
Current Root has priority 32768, address 00:01:02:03:04:01
cost of root path is 0
Number of Topology Changes 2, Time since topology Change 1024 seconds ago
Transmit Hold-Count 3
Root Times : Max age 20 sec 0 cs Forward delay 11 sec 0 cs
Port 1 [Gi0/1] of MST00 is Designated, Forwarding
Gi0/1 is operating in the MSTP Mode
Port path cost 200000, Port priority 128,
Port Identifier 128.1. Port HelloTime 2 sec 0 cs,
Timers: Hello - 1, Forward Delay - 0, Topology Change - 0
Designated root has priority 32768, address 00:01:02:03:04:01
Designated Bridge has priority 32768, address 00:01:02:03:04:01
Designated Port Id is 128.1, Designated pathcost is 0
Operational Forward delay 11 sec 0 cs, Max age 20 sec 0 cs
Number of Transitions to forwarding State : 3
PortFast is enabled
Link type is point to Point
BPDUs : sent 632, received 74
Restricted Role is disabled.
Restricted TCN is disabled.
Gi0/1 is operating as Layer Two Gateway Port
MST00 PseudoRootId Priority 4096, MacAddress 00:01:02:03:04:01
bpdu-transmit disabled
bpdu-receive disabled
Port 2 [Gi0/2] of MST00 is Designated, Forwarding
Gi0/2 is operating in the MSTP Mode
Port path cost 200000, Port priority 128,
Port Identifier 128.2. Port HelloTime 2 sec 0 cs,
Timers: Hello - 0, Forward Delay - 0, Topology Change - 0
Designated root has priority 32768, address 00:01:02:03:04:01
Designated Bridge has priority 32768, address 00:01:02:03:04:01
Designated Port Id is 128.2, Designated pathcost is 0
Operational Forward delay 11 sec 0 cs, Max age 20 sec 0 cs
Number of Transitions to forwarding State : 1
PortFast is disabled
Link Type is Shared
BPDUs : sent 668, received 685
Restricted Role is disabled.
Restricted TCN is disabled.
bpdu-transmit enabled
bpdu-receive enabled
iS5comm(config)#no spanning-tree interface gigabitethernet 0/1
Instance Role State Cost Prio type
-------- ---- ----- ---- ---- ----
MST00 Designated Forwarding 200000 128.1 P2P
iS5comm(config)#no spanning-tree summary
Spanning Tree port pathcost method is Long
Spanning tree enabled protocol is MSTP
MST00 Port Roles and States
Port-Index Port-Role Port-State Port-Status
---------- --------- ---------- -----------
1 Designated Forwarding Enabled
2 Disabled Discarding Enabled
3 Disabled Discarding Enabled
4 Disabled Discarding Enabled
5 Disabled Discarding Enabled
6 Disabled Discarding Enabled
7 Disabled Discarding Enabled
8 Disabled Discarding Enabled
9 Disabled Discarding Enabled
10 Disabled Discarding Enabled
11 Disabled Discarding Enabled
12 Disabled Discarding Enabled
13 Disabled Discarding Enabled
14 Disabled Discarding Enabled
15 Disabled Discarding Enabled
16 Disabled Discarding Enabled
17 Disabled Discarding Enabled
18 Disabled Discarding Enabled
19 Disabled Discarding Enabled
20 Disabled Discarding Enabled
21 Disabled Discarding Enabled
22 Disabled Discarding Enabled
23 Disabled Discarding Enabled
24 Disabled Discarding Enabled
The following table shows the commands that display the Spanning Tree Status.
Command | Purpose |
---|---|
show spanning-tree active | Displays the Bridge and details of the active (active ports are those ports that are participating in the spanning-tree) ports |
show spanning-tree detail | Displays in detail about the port and bridge. This includes designated bridge details, designated port details, timer values, root bridge, etc. |
show spanning-tree interface interface-id | Displays spanning tree information for the specified interface. |
show spanning-tree summary | Displays a summary of port states or displays the total lines of the STP state section. |