7-21
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 7 Configuring STP and RSTP
Verifying and Monitoring STP and RSTP Status

Note The show spanning-tree interface interface-id privileged EXEC command displays information only

if the port is in a link-up operative state. Otherwise, y ou 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 7-1 show spanning-tree Commands

Router# show spanning-tree brief
Bridge group 1
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0005.9a39.6634
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0005.9a39.6634
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0 Desg FWD 19 128.3 P2p
PO0 Desg FWD 3 128.20 P2p
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
from POS0
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
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
ML_Series# show spanning-tree
interface

interface-id

Displays STP or RSTP information for the specified interface.
ML_Series# show spanning-tree
summary [totals]Displays a summary of port states or displays the total lines of
the STP or RSTP state section.

Table 7-6 Commands for Displaying Spanning-Tree Status (continued)

Command Purpose