Connectivity 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, from 1 to
128.
Default Not congured
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
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, from 1 to 48.
port-channel number — Enter the port-channel number, from 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
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, from 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
Layer 2 345