Technical data

Table Of Contents
Converged Enhanced Ethernet Command Reference 21
53-1002508-01
clear counters
2
clear counters
Clears statistics on one or all interfaces on the switch.
Synopsis clear counters {all | access-list mac access_list_name | {interface port-channel number |
tengigabitethernet slot/port | slot}}
Operands all Specifies to clear statistics on all interfaces.
access-list mac access_list_name
Specifies the name of the MAC access list.
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 from 1
through 63.
tengigabitethernet
Specifies a valid 10 Gbps Ethernet interface.
slot Specifies a valid slot number.
port Specifies a valid port number.
slot Specifies the slot number of the line card. For the Brocade 8000 switch, the
slot number is always 0 (zero).
Description Use this command to clear statistics on one or on all interfaces.
Command
Modes
Privileged EXEC mode
Defaults None
Usage
Guidelines
The clear counters all command does not clear counters for any of the protocol daemon statistics,
such as LLDP, LACP, MSTP, and so on.
Examples To clear the statistics for 10 Gbps Ethernet interface 0/1:
switch#clear counters interface tengigabitethernet 0/1
To clear the statistics for the MAC access list named “test”:
switch#clear counters access-list mac test
See Also show interface