Clear Spanning-Tree Counters - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

Layer 2 Commands

clear spanning-tree counters

To clear the spanning-tree counters, use the clear spanning-tree counters command in privileged EXEC
mode.
clear spanning-tree counters [interface interface-id]
Syntax Description
interface interface-id
Command Default
None
Command Modes
Privileged EXEC
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
If the interface-id value is not specified, spanning-tree counters are cleared for all interfaces.
Examples
This example shows how to clear spanning-tree counters for all interfaces:
Switch# clear spanning-tree counters
OL-29043 -01
(Optional) Clears all spanning-tree counters on the specified
interface. Valid interfaces include physical ports, VLANs, and port
channels.
The VLAN range is 1 to 4094.
The port-channel range is 1 to 24.
Modification
This command was introduced.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
clear spanning-tree counters
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents