Interface commands, Chapter 4, Clear counters – Dell POWEREDGE M1000E User Manual

Page 77: Chapter 4, “interface commands, Chapter

Advertising
background image

Dell Converged Enhanced Ethernet Command Reference

61

53-1002115-01

Chapter

4

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

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 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.

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

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:

switch#clear counters interface intengigabitethernet 0/1

To clear the statistics for MAC access list named “test”:

switch#clear counters access-list mac test

To clear the statistics for all the interfaces on the linecard in slot 0 (zero):

switch#clear counters slot-id 0

Advertising