11-20
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter 11 Configuring STP
Displaying the Spanning-Tree Status
Displaying the Spanning-Tree Status
To display the spanning-tree status, use one or more of the privileged EXEC commands in Table 11-5:
You can clear spanning-tree counters by using the clear spanning-tree [interface interface-id]
privileged EXEC command.
For information about other keywords for the show spanning-tree privileged EXEC command, refer to
the command reference for this release.
Table 11-5 Commands for Displaying Spanning-Tree Status
Command Purpose
show spanning-tree active Displays spanning-tree information on active interfaces only.
show spanning-tree detail Displays a detailed summary of interface information.
show spanning-tree interface interface-id Displays spanning-tree information for the specified interface.
show spanning-tree summary [totals] Displays a summary of port states or displays the total lines of the STP state
section.