1371
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter Show Commands
show spanning-tree
show spanning-tree
To display information about the Spanning Tree Protocol (STP), use the
show spanning-tree
command.
show spanning-tree
[
blockedports
|
inconsistentports
|
pathcost method
]
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
The STP port type displays only when you have configured the port as either an STP edge port or an STP
network port. If you have not configured the STP port type, no port type displays.
Table 4
describes the fields that are displayed in the output of
show spanning-tree
commands.
blockedports
(Optional) Displays the alternate ports blocked by STP.
inconsistentports
(Optional) Displays the ports that are in an inconsistent STP state.
pathcost method
(Optional) Displays whether short or long path cost method is used. The
method differs for Rapid Per VLAN Spanning Tree Plus (Rapid PVST+)
(configurable, default is short) and Multiple Spanning Tree (MST)
(nonconfigurable, operational value is always long).
Release
Modification
5.2(1)N1(1)
This command was introduced.
Table 4
show spanning-tree Command Output Fields
Field
Definition
Role
Current port STP role. Valid values are as follows:
•
Desg (designated)
•
Root
•
Altn (alternate)
•
Back (backup)