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-34
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 3 Ethernet Show Commands
show spanning-tree vlan
Command Default None
Command Modes EXEC mode
Command History
Examples This example shows how to display STP information on VLAN 1:
switch# show spanning-tree vlan 1
Related Commands
inconsistentports ((Optional) Displays the ports that are in an inconsistent STP state for
specified VLANs.
interface slot/port |
port-channel number
(Optional) Specifies the interface. Use either the type of interface and its slot
and port number, or the EtherChannel number.
cost (Optional) Displays the STP path cost for the specified VLANs.
edge (Optional) Displays the STP-type edge port information for the specified
interface for the specified VLANs.
inconsistency (Optional) Displays the STP port inconsistency state for the specified
interface for the specified VLANs.
priority (Optional) Displays the STP priority for the specified VLANs.
rootcost (Optional) Displays the path cost to the root for specified interfaces for the
specified VLANs.
state Current port STP state. Valid values are blocking, disabled, learning, and
forwarding.
port (Optional) Displays information about the root port for the specified
VLANs.
summary (Optional) Displays summary STP information on the specified VLANs.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show spanning-tree Displays information STP.
show spanning-tree
active
Displays information about STP active interfaces only.
show spanning-tree
bridge
Displays bridge ID, timers, and protocol for the local bridge on the switch.
show spanning-tree
brief
Displays brief summary information about STP.
show spanning-tree
detail
Displays detailed information about STP.