Brocade Communications Systems 53-1001762-01 User Manual

Page of 252
Converged Enhanced Ethernet Command Reference
127
53-1001762-01
clear spanning-tree counter
9
DRAFT: BROCADE CONFIDENTIAL
clear spanning-tree counter
Clears all spanning-tree counters on the interface.
Synopsis
clear spanning-tree counter [interface| port-channel number | tengigabitethernet slot/port]
Operands
interface
Specifies the interface on which to clear the spanning-tree counters.
port-channel number 
Specifies the port-channel number. The range of valid values is 1-63.
tengigabitethernet 
Specifies a valid 10 Gbps Ethernet interface.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
Defaults
There are no default configurations for this command.
Command
Modes
Privileged EXEC mode
Description
Use this command to clear the spanning-tree counters on the interface.
Usage
Guidelines
If the interface operand is not specified, spanning-tree counters are cleared for all interfaces.
Examples
To clear spanning-tree counters for all interfaces:
switch#clear spanning-tree counter
To clear spanning-tree counters for a 10 Gbps Ethernet interface:
switch#clear spanning-tree counter interface tengigabitethernet 0/1
To clear spanning-tree counters for port-channel 23:
switch#clear spanning-tree counter interface port-channel 23
See Also
show spanning-tree