Command Line Reference Guide
Interfaces | 439
clear counters
c e s
Clear the counters used in the show interfaces commands for all VRRP groups, VLANs, and
physical interfaces, or selected ones.
Syntax
clear counters [interface] [vrrp [vrid] | learning-limit]
Parameters
Defaults
Without an interface specified, the command clears all interface counters.
Command Modes
EXEC Privilege
Command
History
Example
Figure 15-1. clear counters Command Example
Related
Commands
interface
(OPTIONAL) Enter the following keywords and slot/port or number information:
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed
by the slot/port information.
• For a Loopback interface, enter the keyword
loopback followed by a number
from 0 to 16383.
• For a port channel interface, enter the keyword
port-channel followed by the
number of the port channel:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 255 for TeraScale and ExaScale
• For the management interface on the RPM, enter the keyword
ManagementEthernet followed by slot/port information. The slot range is
0-1, and the port range is 0.
• For a SONET interface, enter the keyword
sonet followed by the slot/port
information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
vrrp vrid (OPTIONAL) Enter the keyword vrrp to clear statistics for all VRRP groups
configured. Enter a number from 1 to 255 as the
vrid.
learning-limit (OPTIONAL) Enter the keyword learning-limit to clear unknown source address
(SA) drop counters when MAC learning limit is configured on the interface.
Note: This option is not supported on the S-Series, as the MAC learning limit
is not supported
Version 8.3.3.1 Introduced on the S60.
Version 8.2.1.0 Support for 4093 VLANs on E-Series ExaScale. Prior to release supported 2094.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 6.5.1.0 Updated definition of the learning-limit option for clarity.
Force10#clear counters
Clear counters on all interfaces [confirm]
mac learning-limit Allow aging of MACs even though a learning-limit is configured or disallow
station move on learnt MACs.
show interfaces Displays information on the interfaces.










