Reference Guide
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 congured
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 congured
Command Mode EXEC
Usage Information None
Example
OS10# debug spanning-tree bpdu rx
Supported Releases 10.2.0E or later
show spanning-tree vlan
Displays RPVST+ status and conguration information by VLAN ID.
Syntax
show spanning-tree vlan vlan-id
Parameters vlan vlan-id — Enter the VLAN ID number (1 to 4094)
Default Not congured
Command Mode EXEC
160 Layer 2