show spanning-tree active

Use this command to display the spanning tree values on active ports for the modes (xSTP and PV(R)STP).

Format show spanning-tree active
Mode
  • Privileged EXEC
  • User EXEC

Example 1

(Extreme 220) (Routing)#show spanning-tree active
Spanning Tree: Enabled (BPDU Flooding: Disabled) Portfast BPDU Filtering: Disabled
Mode: rstp
CST Regional Root:        80:00:00:01:85:48:F0:0F
Regional Root Path Cost:  0
###### MST 0 Vlan Mapped:   3
ROOT ID
              Priority        32768
              Address         00:00:EE:EE:EE:EE
              This Switch is the Root.
              Hello Time: 2s Max Age: 20s Forward Delay: 15s
Interfaces
Name      State    Prio.Nbr  Cost      Sts           Role  RestrictedPort
--------- -------- --------- --------- ------------- ----- --------------
0/49      Enabled  128.49    2000      Forwarding    Desg  No
3/1       Enabled  96.66     5000      Forwarding    Desg  No
3/2       Enabled  96.67     5000      Forwarding    Desg  No
3/10      Enabled  96.75     0         Forwarding    Desg  No

Example 2

(Extreme 220) (Routing)#show spanning-tree active
Spanning-tree enabled protocol rpvst
VLAN    1
 RootID    Priority        32769
           Address         00:00:EE:EE:EE:EE
           Cost            0
           Port            This switch is the root
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
 BridgeID  Priority        32769 (priority 32768 sys-id-ext 1)
           Address         00:00:EE:EE:EE:EE
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
           Aging Time 300 sec
Interface State     Prio.Nbr  Cost    Status        Role
--------- --------- --------- ------- ------------- -----------
0/49      Enabled   128.49    2000    Forwarding    Designated
3/1       Enabled   128.66    5000    Forwarding    Designated
3/2       Enabled   128.67    5000    Forwarding    Designated
3/10      Enabled   128.75    0       Forwarding    Designated
VLAN    3
 RootID    Priority        32771
           Address         00:00:EE:EE:EE:EE
           Cost            0
           Port            This switch is the root
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
 BridgeID  Priority        32771 (priority 32768 sys-id-ext 3)
           Address         00:00:EE:EE:EE:EE
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
           Aging Time 300 sec
Interface State     Prio.Nbr  Cost    Status        Role
--------- --------- --------- ------- ------------- -----------
3/1       Enabled   128.66    5000    Forwarding    Designated
3/2       Enabled   128.67    5000    Forwarding    Designated
3/10      Enabled   128.75    0       Forwarding    Designated

Example 3

(Extreme 220) (Routing)#show spanning-tree active
Spanning-tree enabled protocol rpvst
VLAN    1
 RootID    Priority        32769
           Address         00:00:EE:EE:EE:EE
           Cost            0
           Port            10(3/10   )
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
 BridgeID  Priority        32769 (priority 32768 sys-id-ext 1)
           Address         00:00:EE:EE:EE:EE
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
           Aging Time 300 sec
Interface State     Prio.Nbr  Cost    Status        Role
--------- --------- --------- ------- ------------- -----------
0/49      Enabled   128.49    2000    Discarding    Alternate
3/1       Enabled   128.66    5000    Forwarding    Disabled
3/2       Enabled   128.67    5000    Forwarding    Disabled
3/10      Enabled   128.75    0       Forwarding    Root
VLAN    3
 RootID    Priority        32771
           Address         00:00:EE:EE:EE:EE
           Cost            0
           Port            10(3/10   )
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
 BridgeID  Priority        32771 (priority 32768 sys-id-ext 3)
           Address         00:00:EE:EE:EE:EE
           Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
           Aging Time 300 sec
Interface State     Prio.Nbr  Cost    Status        Role
--------- --------- --------- ------- ------------- -----------
3/1       Enabled   128.66    5000    Forwarding    Disabled
3/2       Enabled   128.67    5000    Forwarding    Disabled
3/10      Enabled   128.75    0       Forwarding    Root