Displaying STP Settings
-
To display STPD settings, use
the command:
show stpd {stpd_name | detail}
To display more detailed information for one or more STPDs, specify the detail option.
This command displays the following information:- STPD name
- STPD state
- STPD mode of operation
- Domain description
- Rapid Root Failover
- Tag
- Ports
- Active VLANs
- Bridge priority
- Bridge ID
- Designated root
- STPD configuration information
If you have MSTP configured on the switch, this command displays additional information:- MSTP Region
- Format Identifier
- Revision Level
- Common and Internal Spanning Tree (CIST)
- Total number of MST Instances (MSTI)
-
To display the state of a port that participates in
STP, use the command:
show {stpd} stpd_name ports {[detail | port_list {detail}]}To display more detailed information for one or more ports in the specified STPD, including participating VLANs, specify the detail option.This command displays the following information:
- STPD port configuration
- STPD port mode of operation
- STPD path cost
- STPD priority
- STPD state (root bridge, etc.)
- Port role (root designated, alternate, etc.)
- STPD port state (forwarding, blocking, etc.)
- Configured port link type
- Operational port link type
- Edge port settings (inconsistent behavior, edge safeguard setting)
- MSTP port role (internal or boundary)
If you have MSTP configured and specify the detail option, this command displays additional information:
- MSTP internal path cost
- MSTP timers
- STPD VLAN Settings
-
If you have a VLAN that spans multiple STPDs, use the
show {vlan} vlan_name stpd command to display the STP
configuration of the ports assigned to that specific VLAN.
The command displays the following:
- STPD port configuration
- STPD port mode of operation
- STPD path cost
- STPD priority
- STPD state (root bridge, etc.)
- Port role (root designated, alternate, etc.)
- STPD port state (forwarding, blocking, etc.)
- Configured port link type
- Operational port link type