1-6
[Sysname-NULL0]
reset counters interface
Syntax
reset counters interface [ interface-type [ interface-number ] ]
View
User view
Default Level
2: System level
Parameters
interface-type: Logical interface type.
interface-number: Logical interface number.
Description
Use the reset counters interface command to clear the statistics of a logical interface.
Before collecting traffic statistics within a specific period of time on a logical interface, you need to clear
the existing statistics.
z If neither the interface type nor the interface number is specified, this command clears the statistics
on all interfaces in the system.
z If only the interface type is specified, this command clears the statistics on logical interfaces of the
specified interface type.
z If both the interface type and interface number are specified, this command clears the statistics on
the specified logical interface.
Examples
# Clear the statistics on loopback interface Loopback 5.
<Sysname> reset counters interface loopback 5
shutdown
Syntax
shutdown
undo shutdown
View
Loopback interface view
Default Level
2: System level
Parameters
None