To clear the counters, use the following command in EXEC Privilege mode:
Command Syntax
clear counters [interface]
[vrrp [vrid] | learning-limit]
When you enter this command, you must confirm that you want FTOS to clear the interface counters for
that interface
Figure 13-31. Clearing an Interface
FTOS#clear counters tengig 0/0
Clear counters on TenGigabitEthernet 0/0 [confirm]
FTOS#
258
|
Interfaces
Command Mode
EXEC Privilege
(Figure
13-31).
Purpose
Clear the counters used in the
VRRP groups, VLANs, and physical interfaces or selected ones.
Without an interface specified, the command clears all interface
counters.
•
(OPTIONAL) Enter the following interface keywords and slot/
port or number 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 a number from 1 to 128.
•
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
•
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
•
For a VLAN, enter the keyword
from 1 to 4094
•
( OPTIONAL) Enter the keyword
VRRP groups configured. Enter a number from 1 to 255 as the
vrid
.
•
( OPTIONAL) Enter the keyword
unknown source address (SA) drop counters when MAC
learning limit is configured on the interface.
commands for all
show interface
vlan
followed by a number
vrrp
to clear statistics for all
learning-limit
to clear