Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)
Send comments to nx5000-docfeedback@cisco.com
3-26
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 3 Ethernet Show Commands
show spanning-tree interface
show spanning-tree interface
To display information on the STP interface status and configuration of specified interfaces, use the
show spanning-tree interface command.
show spanning-tree interface {interface slot/port | port-channel number} [active [brief | detail]
| brief [active] | cost | detail [active] | edge | inconsistency | priority | rootcost | state]
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.
If you specify an interface that is not running STP, the switch returns an error message.
When you are running MST, this command displays the PVST simulation setting.
Note If you are running MST, use the show spanning-tree mst command to show more detail on the specified
interfaces.
interface type slot/port |
port-channel number
Specifies the interface. Use either the type of interface and its slot and port
number, or the EtherChannel number.
active (Optional) Displays information about STP active interfaces only on the
specified interfaces.
brief (Optional) Displays brief summary of STP information on the specified
interfaces.
detail (Optional) Displays detailed STP information about the specified interfaces.
cost (Optional) Displays the STP path cost for the specified interfaces.
edge (Optional) Displays the STP-type edge port information for the specified
interfaces.
inconsistency (Optional) Displays the port STP inconsistency state for the specified
interfaces.
priority (Optional) Displays the STP port priority for the specified interfaces.
rootcost (Optional) Displays the path cost to the root for specified interfaces.
state Current port STP state.
Release Modification
4.0(0)N1(1a) This command was introduced.