Chapter 6
Configuring STP and RSTP
Table 6-6
Command
Router# show spanning-tree
interface interface-id
Router# show spanning-tree
summary
The show spanning-tree interface interface-id privileged EXEC command displays information only
Note
if the port is in a link-up operative state. Otherwise, you can use the show running-config interface
privileged EXEC command to confirm the configuration.
Examples of the show spanning-tree privileged EXEC command commands are shown here:
Example 6-1
Router# show spanning-tree active
Bridge group 1
Spanning tree enabled protocol ieee
Root ID
Bridge ID
Interface
---------------- ---- --- --------- -------- --------------------------------
Fa0
PO0
Router# show spanning-tree detail
Bridge group 1 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, sysid 1, address 0005.9a39.6634
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Topology change flag not set, detected flag not set
Number of topology changes 2 last change occurred 00:16:45 ago
Times:
Timers: hello 0, topology change 0, notification 0, aging 300
Port 3 (FastEthernet0) of Bridge group 1 is forwarding
Port path cost 19, Port priority 128, Port Identifier 128.3.
Designated root has priority 32769, address 0005.9a39.6634
Designated bridge has priority 32769, address 0005.9a39.6634
Designated port id is 128.3, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
BPDU: sent 641, received 0
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
January 2004
Commands for Displaying Spanning-Tree Status (continued)
[
]
totals
show spanning-tree Commands
Priority
32769
Address
0005.9a39.6634
This bridge is the root
Hello Time
2 sec
Priority
32769
Address
0005.9a39.6634
Hello Time
2 sec
Aging Time 300
Role Sts Cost
Desg FWD 19
Desg FWD 3
from POS0
hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Purpose
Displays STP or RSTP information for the specified interface.
Displays a summary of port states or displays the total lines of
the STP or RSTP state section.
Max Age 20 sec
Forward Delay 15 sec
(priority 32768 sys-id-ext 1)
Max Age 20 sec
Forward Delay 15 sec
Prio.Nbr Type
128.3
P2p
128.20
P2p
Verifying and Monitoring STP and RSTP Status
6-21