Interface Commands
clear counters
Clears statistics on all interfaces on the switch.
Synopsis
clear counters {all | access-list mac access_list_name | [interface port-channel number |{in |
ex}tengigabitethernet slot/port | slot-id number]}
Operands
all
access-list mac access_list_name
interface
Description
Use this command to clear statistics on one or on all interfaces.
Defaults
There are no default configurations for this command.
Command
Privileged EXEC mode
Modes
User Guidelines
The clear counters all command does not clear counters for any of the protocol daemon stats like
LLDP, LACP, MSTP, and so on.
For the Dell M8428-k switch, the slot number is always 0 (zero).
Example
To clear the statistics for 10 Gbps Ethernet interface 0/1:
To clear the statistics for MAC access list named "test":
To clear the statistics for all the interfaces on the linecard in slot 0 (zero):
Dell Converged Enhanced Ethernet Command Reference
53-1002115-01
Specifies to clear statistics on all interfaces.
Specifies the name of the MAC access list.
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.
slot-id number
Specifies the slot number of the linecard.
switch#clear counters interface intengigabitethernet 0/1
switch#clear counters access-list mac test
switch#clear counters slot-id 0
Chapter
4
61