clear counters
Syntax
Parameters
Defaults
Command Modes
Command
History
236
|
Interfaces
•
show config (from INTERFACE RANGE mode)
•
show interfaces
•
show interfaces configured
•
show interfaces dampening
•
show interfaces description
•
show interfaces stack-unit
•
show interfaces status
•
show interfaces switchport
•
show interfaces transceiver
•
show range
•
shutdown
•
speed (for 1000/10000/auto interfaces)
•
stack-unit portmode
Clear the counters used in the show interfaces commands for all VRRP groups, VLANs, and physical
interfaces, or selected ones.
clear counters [ interface ] [ vrrp [{ vrid | vrf instance }] | learning-limit ]
interface
(OPTIONAL) Enter any of the following keywords and slot/port or number to clear
counters from a specified interface:
•
For a Loopback interface, enter the keyword
0 to 16383.
•
For a Port Channel interface, enter the keyword
number. Range: 1-128
•
For the management interface on the stack-unit, enter the keyword
managementethernet
and the port range is 0.
•
For a 10-Gigabit Ethernet interface, enter the keyword
followed by the slot/port information.
•
For a 40-Gigabit Ethernet interface, enter the keyword
slot/port information.
•
For a VLAN, enter the keyword
vrrp
(OPTIONAL) Enter the keyword
[
vrid
]
clear the counters of a specified group, enter a
vrrp
(OPTIONAL): Enter the keyword
[ vrf
instance
]
the counters of VRRP groups in a specified VRF instance, enter the name of the
instance (32 characters maximum).
learning-limit
(OPTIONAL) Enter the keyword
drop counters when MAC learning limit is configured on the interface.
Without a specific interface specified, the command clears all interface counters.
EXEC Privilege
Version 8.3.16.1
Introduced on MXL 10/40GbE Switch IO Module
loopback
followed by a number from
port-channel
followed by slot/port information. The slot range is 0-1,
TenGigabitEthernet
fortyGigE
vlan
followed by a number from 1 to 4094.
vrrp
to clear the counters of all VRRP groups. To
vrid
number from 1 to 255.
vrrp
to clear counters for all VRRP groups. To clear
learning-limit
to clear unknown source address (SA)
followed by a
followed by the