Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-14
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
clear spanning-tree counters
clear spanning-tree counters
To clear the counters for the Spanning Tree Protocol (STP), use the clear spanning-tree counters
command.
clear spanning-tree counters [interface {ethernet interface | port-channel channel}] [vlan
vlan-id]
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
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
interface (Optional) Specifies the interface type.
ethernet interface Slot and port number.
port-channel channel EtherChannel number.
vlan vlan-id (Optional) Specifies the VLAN. The range is from 1 to 4094.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show spanning-tree Displays information about the spanning tree state.