Reference Guide

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
Example
OS10# debug spanning-tree bpdu rx
Supported Releases 10.2.0E or later
show spanning-tree vlan
Displays RPVST+ status and conguration information by VLAN ID.
Syntax
show spanning-tree vlan vlan-id
Parameters vlan vlan-id — Enter the VLAN ID number (1 to 4093)
Default Not congured
Command Mode EXEC
Usage Information None
Example
OS10# show spanning-tree
Spanning tree enabled protocol rapid-pvst
VLAN 1
Executing IEEE compatible Spanning Tree Protocol
Root ID Priority 32769, Address 74e6.e2f5.bb80
Root Bridge hello time 2, max age 20, forward delay 15
Bridge ID Priority 32769, Address 74e6.e2f5.bb80
We are the root of VLAN 1
Configured hello time 2, max age 20, forward delay 15
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
----------------------------------------------------------------------------
ethernet1/1/1 128.260 128 200000000 FWD 0 32769 0000.0000.0000 128.260
ethernet1/1/2 128.264 128 200000000 FWD 0 32769 0000.0000.0000 128.264
ethernet1/1/3 128.268 128 200000000 FWD 0 32769 0000.0000.0000 128.268
Layer 2 219