clear spanning-tree counters
clear spanning-tree counters
Use the clear spanning-tree counters privileged EXEC command to clear the spanning-tree counters.
Syntax Description
interface interface-id
Command Default
None
Command Modes
Privileged EXEC (#)
Command History
Release
12.2(25)EX
15.0(1)MR
Usage Guidelines
If the interface-id is not specified, spanning-tree counters are cleared for all STP ports.
Examples
This example shows how to clear spanning-tree counters for all STP ports:
Router# clear spanning-tree counters
Related Commands
Command
clear spanning-tree
detected-protocols
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
60
clear spanning-tree counters [interface interface-id]
(Optional) Clear all spanning-tree counters on the specified interface. Valid
interfaces include physical network node interfaces (NNIs), enhanced
network interfaces (ENIs) on which spanning tree has been enabled, VLANs,
and spanning-tree port channels. The VLAN range is 1 to 4094. The
port-channel range is 1 to 48.
Note
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 15.0(1)MR.
Description
Restarts the protocol migration process.
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
Spanning Tree Protocol (STP) is not supported on user network
interfaces (UNIs). Though visible in the command-line help, the
command has no effect on UNIs or on ENIs on which STP is not
enabled.
OL-23890-01