clear spanning-tree counters
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
clear spanning-tree counters
To clear the counters for the Spanning Tree Protocol (STP), use the clear spanning-tree counters
command.
Syntax Description
interface
ethernet interface
port-channel channel
vlan vlan-id
Command Default
None
Command Modes
EXEC mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
You can clear all the STP counters on the entire switch, per VLAN, or per interface.
Examples
This example shows how to clear the STP counters for VLAN 5:
switch# clear spanning-tree counters vlan 5
Related Commands
Command
show spanning-tree
Cisco Nexus 5000 Series Command Reference
2-14
clear spanning-tree counters [interface {ethernet interface | port-channel channel}] [vlan
vlan-id]
(Optional) Specifies the interface type.
Slot and port number.
EtherChannel number.
(Optional) Specifies the VLAN. The range is from 1 to 4094.
Modification
This command was introduced.
Description
Displays information about the spanning tree state.
Chapter 2
Ethernet Commands
OL-16599-01
Need help?
Do you have a question about the AP775A - Nexus Converged Network Switch 5010 and is the answer not in the manual?
Questions and answers