show stpd

show stpd {stpd_name | detail}

Description

Displays STPD (Spanning Tree Domain) settings on the switch.

Syntax Description

stpd_name Specifies an STPD on the switch.
detail Specifies that STPD settings should be shown for each STPD.

Default

N/A.

Usage Guidelines

If you specify the command without any options, the following STPD information appears:
  • Name—The name of the STPD.

  • Tag—The StpdID of the domain, if configured.

  • Flags—The following flags communicate information about the current state of the STPD:
    • (C) Topology Change—A network topology change has occurred in the network.

    • (D) Disable—The STPD is disabled.

    • (E) Enable—The STPD is enabled.

    • (R) Rapid Root Failover—The STPD has been configured for rapid root failover.

    • (T) Topology Change Detected—The STPD has detected a change in the network topology.

    • (M) MSTP (Multiple Spanning Tree Protocol) CIST—The STPD has been configured for MSTP, and the STPD is the common and internal spanning tree.

    • (I) MSTP MSTI (Multiple Spanning Tree Instances)—The STPD has been configured for MSTP, and the STPD is a multiple instance spanning tree.

  • Ports—The number of ports that are part of the STPD.

  • Bridge ID—The MAC addresses of the switch.

  • Designated Root—The MAC address of the switch that is the designated root bridge.

  • Rt Port—The root port.

  • Rt Cost—The path cost to the root port.

  • Total Number of STPDs—The total number of STPDs configured on the switch.

  • STP (Spanning Tree Protocol) Flush Method—The method used to flush the FDB (forwarding database) during a topology change.

If you have an MSTP region and associated spanning trees configured on the switch, the command also displays the following global MSTP information:
  • MSTP Region—The name of the MSTP region configured on the switch.

  • Format Identifier—The number used by BPDUs to communicate within an MSTP region.

  • Revision Level—This number is reserved for future use.

  • Digest—The MD5 (Message-Digest algorithm 5) digest value.

  • Common and Internal Spanning Tree (CIST)—The name of the CIST that controls the connectivity of interconnecting MSTP regions.

  • Total number of MST Instances (MSTI)—The number of MSTIs running in the MSTP region.

If you use the show stpd command and specify the name of an STPD, in addition to the data previously described, the command displays more detailed information about the STPD. If you specify the detail option, the switch displays the same type of information for all of the STPDs configured on the switch.

The additional output includes the following:
  • STPD mode of operation.

  • Autobind mode.

  • Active VLANs.

  • Bridge priority mode.

  • Timer information.

  • Topology change information.

If you have MSTP configured, the command also displays the following information:
  • Bridge role.

  • CIST root.

  • CIST regional root.

  • MSTI instances.

  • Master port (Displayed only on MSTI STPDs).

If your STPD has the same name as another component, for example a VLAN (Virtual LAN), we recommend that you specify the identifying keyword as well as the name. If you do not specify the stpd keyword, an error message similar to the following is displayed:

%% Ambiguous command: "show Test"

In this example, to view the settings of the STPD Test, enter show stpd Test.

If your STPD has a name unique only to that STPD, the keyword stpd is optional.

Example

The following command displays the STPD settings on a switch that has MSTP configured:

show stpd

The following is sample output from this command:

MSTP Global Configuration:
MSTP Region Name              : 00049651acd7
MSTP Format Identifier        : 0
MSTP Revision Level           : 3
MSTP Digest                   : ac:36:17:7f:50:28:3c:d4:b8:38:21:d8:ab:26:de:62
Common and Internal Spanning Tree (CIST) : ----
Total Number of MST Instances (MSTI)     : 0

Name       Tag  Flags  Ports Bridge ID        Designated Root  Rt Port Rt Cost
s0         0000 D-----     0 800000049651acd7 0000000000000000 -------       0 

Total number of STPDs: 1                STP Flush Method: VLAN and Port
STP Filter Method: System-wide          STP BPDU Forwarding: On   

Flags: (C) Topology Change, (D) Disable, (E) Enable, (R) Rapid Root Failover
       (T) Topology Change Detected, (M) MSTP CIST, (I) MSTP MSTI

The following command displays STPD settings on an STPD named Backbone_st:

show stpd backbone_st

The following is sample output from this command:

Stpd: backbone_st Stp: ENABLED      Number of Ports: 51
Description: this is backbone_st domain
Rapid Root Failover:  Disabled
Operational Mode: 802.1W Default Binding Mode: 802.1D
802.1Q Tag: (none)
Ports: 1:1,1:2,2:1,2:2,3:1,3:2,4:1,4:2,5:1,5:2,
5:3,5:4,5:5,5:6,5:7,5:8,5:9,5:10,5:11,5:12,
5:13,5:14,5:15,5:16,5:17,5:18,5:19,5:20,5:21,5:22,
5:23,5:24,5:25,5:26,5:27,5:28,5:29,5:30,5:31,5:32,
5:33,5:34,5:35,5:36,5:37,5:38,5:39,5:40,5:41,5:42,
5:43
Participating Vlans:  Default
Auto-bind Vlans: Default
Bridge Priority: 5000
c
BridgeID: 13:88:00:01:30:f4:06:80
Designated root:        0a:be:00:01:30:28:b7:00
RootPathCost:  19       Root Port:  28
MaxAge: 20s             HelloTime: 2s           ForwardDelay: 15s
CfgBrMaxAge: 20s        CfgBrHelloTime: 2s      CfgBrForwardDelay: 15s
Topology Change Time: 35s Hold time: 1s
Topology Change Detected:  FALSE Topology Change: FALSE
Number of Topology Changes:  7
Time Since Last Topology Change:  4967s

The following command diplays detailed output for STP domain s0.

show stpd s0 detail

The following is sample detailed output.

Stpd: s0                Stp: DISABLED           Number of Ports: 0
Rapid Root Failover: Disabled
Operational Mode: 802.1D                        Default Binding Mode: 802.1D
802.1Q Tag: (none)
Ports: (none)
Participating Vlans: v1,v11,v21
Auto-bind Vlans: Default
Bridge Priority: 32768
Operational Bridge Priority : 28672
Bridge Priority Mode: 802.1d
BridgeID:               70:00:00:04:96:82:6a:29
Designated root:        00:00:00:00:00:00:00:00
RootPathCost: 0         Root Port     : ----
MaxAge      : 0s        HelloTime     : 0s      ForwardDelay     : 0s
CfgBrMaxAge : 20s       CfgBrHelloTime: 2s      CfgBrForwardDelay: 15s
Topology Change Time           : 35s            Hold time        : 1s
Topology Change Detected       : FALSE          Topology Change  : FALSE
Number of Topology Changes     : 0
Time Since Last Topology Change: 0s
Topology Change initiated locally on Port 1:21
Topology Change last received on Port 1:21 from 00:04:96:26:6c:89
Backup Root               : On         Backup Root Activated    : TRUE
Backup Root Trap          : On         New Root Trap            : On
BPDU Restrict Trap        : On         Topology Change Trap     : On
Dispute Threshold         : None       Loop Protect Threshold   : None
Loop Protect Event Window : 180s       Loop Protect Trap        : On
Tx Hold Count             : 6
Participating VLANs       :
VLAN                                Tag     Number of Ports
       Ports
v1                                  100     13
       1:1(F),1:2(B),1:3(L),1:4(B),1:5(D),1:6(D),1:7(D),1:8(D),1:9(B),1:10(L),
                  1:11(F), 1:12(F),1:13(F)
v11                                 1001    9
      1:23(F),1:24(B),1:25(L),1:26(B),1:6(D),1:7(D),1:8(D),1:9(B),1:10(L),
v21                                 2001    3
      1:23(F),1:24(B),1:25(L)
Flags: B-Blocking, D-Disabled, F-Forwarding, I-Listening, L-Learning.             
            

The following is sample output for an STPD configured as the CIST (the output is similar for an STPD configured as an MSTI):

Stpd: s0 Stp: DISABLED           Number of Ports: 0
Description: this is s0 domain
Rapid Root Failover: Disabled                                                   Operational Mode: MSTP Default Binding Mode: 802.1d
MSTP Instance :CIST CIST : s0
802.1Q Tag: (none)                                                              Ports: (none)                                                                   Participating Vlan Count: 1
Auto-bind Vlans Count: 1
Bridge Priority: 32768                                                          BridgeID: 80:00:00:10:30:f9:9d:c0Bridge
Role : CIST Regional Root
CIST Root 80:00:00:10:30:f9:9d:c0CIST
Regional Root: 80:00:00:10:30:f9:9d:c0
Designated root: 00:00:00:00:00:00:00:00                                 RootPathCost: 0 External RootPathCost: 0 Root Port: ----                                         MaxAge:0sHelloTime:0sForwardDelay:0s                CfgBrMaxAge:20sCfgBrHelloTime:2sCfgBrForwardDelay: 15s MaxHopCount:  20 CfgBrMaxHopCount :     20
Topology Change Time: 35s                         Hold time:                  1s                   Topology Change Detected: FALSE Topology Change:      FALSE          Number of Topology Changes: 0                                                   Time Since Last Topology Change: 0s
Participating Vlans     :             (none)                                                     Auto-bind Vlans : Default

History

This command was first available in ExtremeXOS 10.1.

Information about MSTP was added in ExtremeXOS 11.4.

Description was added in ExtremeXOS 12.4.4.

MSTP Digest, topology chanage information, and trap information were added in ExtremeXOS 15.7.1.

Bridge priority mode information added in ExtremeXOS 22.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.