Displaying the Spanning-Tree Status
Configuring the Transmit Hold-Count
You can configure the BPDU burst size by changing the transmit hold count value.
Changing this parameter to a higher value can have a significant impact on CPU utilization, especially
Note
in Rapid-PVST mode. Lowering this value can slow down convergence in certain scenarios. We
recommend that you maintain the default setting.
Beginning in privileged EXEC mode, follow these steps to configure the transmit hold-count. This
procedure is optional.
Command
Step 1
configure terminal
Step 2
spanning-tree transmit hold-count value
Step 3
end
Step 4
show spanning-tree detail
Step 5
copy running-config startup-config
To return to the default setting, use the no spanning-tree transmit hold-count value global
configuration command.
Displaying the Spanning-Tree Status
To display the spanning-tree status, use one or more of the privileged EXEC commands in
Table 16-5
Commands for Displaying Spanning-Tree Status
Command
show spanning-tree active
show spanning-tree detail
show spanning-tree interface interface-id
show spanning-tree summary [totals]
Note
In a switch stack, the spanning-tree process reports both physical stack ports in a stack member as one
logical port.
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, see the
command reference for this release.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
16-24
Purpose
Enter global configuration mode.
Configure the number of BPDUs that can be sent before pausing
for 1 second.
For value, the range is 1 to 20; the default is 6.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Displays spanning-tree information on active interfaces only.
Displays a detailed summary of interface information.
Displays spanning-tree information for the specified interface.
Displays a summary of interface states or displays the total lines of the STP
state section.
Chapter 16
Configuring STP
Table
16-5:
OL-26520-01