Brocade Converged Enhanced Ethernet Command Reference v6.1.2_cee (53-1001217-01, June 2009)

Converged Enhanced Ethernet Command Reference 59
53-1001217-01
Chapter
4
Interface Commands
clear counters
Clears statistics on all interfaces on the switch.
Synopsis clear counters {all | [interface port-channel number | tengigabitethernet slot/port | vlan vlan_id |
slot-id number] }
Operands all Specifies to clear statistics on all interfaces.
interface Use this keyword to specify any of the following interfaces:
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.
vlan vlan_id Specifies the VLAN number.
slot-id number Specifies the slot number of the linecard. The range of valid values is 0-7.
For the Brocade 8000, the slot number is always 0 (zero).
Description Use this command to clear statistics on one or on all interfaces.
Defaults There are no default configurations for this command.
Command
Modes
Privileged EXEC Mode
User Guidelines There are no usage guidelines for this command.
Example To clear the statistics for interface tengigabitethernet 0/1:
switch#clear counters interface tengigabitethernet 0/1
To clear the statistics for VLAN 100:
switch#clear counters interface vlan 100
To clear the statistics for all the interfaces on the linecard in slot 0 (zero):
switch#clear counters slot-id 0
See Also show interfaces