show spanning-tree
Table 4
Field
Sts
Type
Display output differs slightly depending on whether you are running Rapid Per VLAN Spanning Tree
Note
Plus (Rapid PVST+) or Multiple Spanning Tree (MST).
Examples
This example shows how to display spanning tree information:
switch# show spanning-tree
VLAN0001
Spanning tree enabled protocol rstp
Root ID
Bridge ID
Interface
---------------- ---- --- --------- -------- --------------------------------
Po1
Po3
Po123
Eth1/11
Eth1/12
Eth1/15
Eth1/16
Eth1/33
Eth1/35
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
1372
show spanning-tree Command Output Fields (continued)
Definition
Current port STP state. Valid values are as follows:
BLK (blocking)
•
DIS (disabled)
•
LRN (learning)
•
FWD (forwarding)
•
Status information. Valid values are as follows:
•
P2p/Shr—The interface is considered as a point-to-point (shared) interface by
the spanning tree.
Edge—The port is configured as an STP edge port (either globally using the
•
default command or directly on the interface) and no BPDU has been received.
Network—The port is configured as an STP network port (either globally using
•
the default command or directly on the interface).
*ROOT_Inc, *LOOP_Inc, *PVID_Inc, *BA_Inc, and *TYPE_Inc—The port is
•
in a broken state (BKN*) for an inconsistency. The broken states are Root
inconsistent, Loopguard inconsistent, PVID inconsistent, Bridge Assurance
inconsistent, or Type inconsistent.
Priority
1
Address
000d.ecb0.fdbc
Cost
2
Port
4096 (port-channel1)
Hello Time
2
sec
Max Age 20 sec
Priority
61441
(priority 61440 sys-id-ext 1)
Address
0005.9b78.6e7c
Hello Time
2
sec
Max Age 20 sec
Role Sts Cost
Root FWD 1
Root FWD 1
Desg FWD 4
Desg BKN*2
Desg BKN*2
Desg BKN*2
Desg BKN*2
Desg FWD 2
Desg FWD 2
Forward Delay 15 sec
Forward Delay 15 sec
Prio.Nbr Type
128.4096 (vPC peer-link) Network P2p
128.4098 (vPC) P2p
128.4218 Edge P2p
128.139
P2p *TYPE_Inc
128.140
P2p *TYPE_Inc
128.143
P2p *TYPE_Inc
128.144
P2p *TYPE_Inc
128.161
Edge P2p
128.163
Edge P2p
Chapter
Show Commands
OL-27880-02