Clearing Interface Counters
The counters in the
not clear the counters captured by any SNMP program.
To clear the counters, use the following command in EXEC Privilege mode:
Command Syntax
clear counters [interface]
When you enter this command, you must confirm that you want FTOS to clear the interface counters for
that interface
(Figure
Figure 10-24. Clearing an Interface
FTOS#clear counters tengig 0/0
Clear counters on TenGigabitEthernet 0/0 [confirm]
FTOS#
command are reset by the
show interfaces
Command Mode
EXEC Privilege
10-24).
clear counters
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
followed by the slot/port numbers.
TenGigabitEthernet
•
For a VLAN, enter the keyword
from 1 to 4094.
command. This command does
show interface
commands for all
vlan
followed by a number
Interfaces | 147