Reference Guide

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 (1 to 128).
Default Not congured
Command Mode EXEC
Usage Information Clear all STP counters on the device per Ethernet interface or port-channel.
Example
OS10# clear spanning-tree counters interface port-channel 10
Supported Releases 10.2.0E or later
clear spanning-tree detected-protocol
Forces the MST ports to renegotiate with neighbors.
Syntax
clear spanning-tree detected-protocol [interface {ethernet node/slot/
port[:subport] | port-channel number}]
Parameters
interface — Enter the interface type:
ethernet node/slot/port[:subport] — Enter the Ethernet interface information (1 to 48).
port-channel number — Enter the port-channel number (1 to 128).
Default Not congured
Command Mode EXEC
Usage Information Use this command to force the RPVST+ port to re-negotiate with neighbors. If you use this command without
parameters, the command applies to each device port.
Example
OS10# clear spanning-tree detected-protocol interface ethernet 1/1/1
Supported Release 10.2.0E or later
debug spanning-tree
Enables STP debug and displays 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 PVST events.
Default Not congured
Command Mode EXEC
Usage Information None
190 Layer 2