Users Guide

Root-Guard: Enable, Loop-Guard: Disable
Bpdus (MRecords) Sent: 6, Received: 6410
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID
PortID
-----------------------------------------------------------------------------------------
----
ethernet1/1/7 128.56 128 500 FWD 500 32769 90b1.1cf4.a625
128.56
Common STP commands
This section explains about the common commands in STP. STP variant specific commands are explained in the individual
sections under RSTP, MSTP, and Rapid-PVST.
There are two sets of STP related commands.
STP commands that are common and can be used irrespective of the STP variant enabled on the device.
STP commands that are specific to the particular STP variant.
clear spanning-tree counters
Clears the counters for STP.
Syntax
clear spanning-tree counters [interface {ethernet node/slot/port[:subport]
| portchannel number}}]
Parameters
interface Enter the interface type:
ethernet node/slot/port[:subport] Deletes the spanning-tree counters from a
physical port.
port-channel number Deletes the spanning-tree counters for a port-channel interface,
from 1 to 128.
Default Not configured
Command Mode EXEC
Usage
Information
Clear all STP counters on the device per the Ethernet interface or port-channel.
Example
OS10# clear spanning-tree counters interface port-channel 10
Supported
Releases
10.2.0E or later
debug spanning-tree
Enables STP to debug and display protocol information.
Syntax
debug spanning-tree {all | bpdu [tx | rx] | events}
Parameters
all Debugs all spanning-tree operations.
bpdu Enter transmit (tx) or receive (rx) to enable the debug direction.
events Debugs STP events.
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# debug spanning-tree bpdu rx
602 Layer 2