Specifications

clear counters
156
clear counters
Clears the statistics counter of an Ethernet interface to zero.
Syntax
clear counters [ gigabitethernet <IF#> ] [AX2200S]
clear counters [{fastethernet <IF#> | gigabitethernet <IF#>}] [AX1250S] [AX1240S]
Input mode
User mode and administrator mode
Parameters
gigabitethernet [AX2200S]
Specifies a 10BASE-T/100BASE-TX/1000BASE-T or 1000BASE-X interface.
{fastethernet <IF#> | gigabitethernet <IF#>} [AX1250S][AX1240S]
fastethernet
Specify a 10BASE-T or 100BASE-TX interface.
gigabitethernet
Specify a 1000BASE-T, 100BASE-FX, or 1000BASE-X interface.
<IF#>
Specify an interface port number. For the specifiable range of values, see
Specifiable values for parameters.
Operation when all parameters are omitted:
Clears the statistics counter of all Ethernet interfaces to zero.
Example
None
Display items
None
Impact on communication
None
Response messages
None
Notes
Even if the statistics counter is cleared to zero, the value of the MIB information
obtained by using SNMP is not cleared to zero.
The following information items displayed by the
show interfaces command are
cleared to zero:
Send and receive statistics
Send error statistics
Receive error statistics
Failure statistics
The
clear counters command also clears the port's statistics counter displayed by