reset counters interface
Use reset counters interface to clear the Ethernet interface statistics.
Syntax
reset counters interface [ interface-type [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
Usage guidelines
Use this command to clear history statistics if you want to collect traffic statistics for a specific time period.
If you do not specify an interface type, this command clears statistics for all interfaces.
If you specify only the interface type, this command clears statistics for all interfaces of that type.
If you specify both the interface type and the interface number, this command clears statistics for the specified interface.
Examples
# Clear the statistics of Ten-GigabitEthernet 1/0/1.
<Sysname> reset counters interface ten-gigabitethernet 1/0/1
Related commands
display interface
display counters interface
display counters rate interface