reset counters interface loopback
Syntax
reset counters interface [ loopback [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
interface-number: Number of the loopback interface, which can be the number of any existing loopback
interface. With this argument, the command clears statistics on a specified loopback interface.
Description
Use reset counters interface loopback to clear statistics on loopback interfaces.
Before collecting traffic statistics within a specific period of time on a loopback interface, clear the
existing statistics.
If you do not specify the loopback keyword, this command clears the statistics on all interfaces in the
•
system.
If you specify the loopback keyword without the interface-number argument, this command clears
•
the statistics on all loopback interfaces.
Examples
# Clear statistics on loopback interface Loopback 0.
<Sysname> reset counters interface loopback 0
reset counters interface null
Syntax
reset counters interface [ null [ 0 ] ]
View
User view
Default level
2: System level
Parameters
0: Number of the null interface, which is fixed at 0.
Description
Use reset counters interface null to clear statistics on the null interface.
Before collecting traffic statistics within a specific period of time on the null interface, clear the existing
statistics.
If you do not specify the null keyword, this command clears statistics on all interfaces.
•
•
If you specify the null keyword, this command clears the statistics on interface Null 0 with or without
the 0 keyword, because the device supports only one interface Null 0.
46