
46
•
If you do not specify the
loopback
keyword, this command clears the statistics on all interfaces
in the system.
•
The device supports only one loopback interface, loopback 0, and therefore this command
clears the statistics on loopback 0 whether you specify
loopback
or
loopback 0
.
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.
Examples
# Clear statistics on interface Null 0.
<Sysname> reset counters interface null 0
shutdown
Syntax
shutdown
undo shutdown
View
Loopback interface view
Default level
2: System level
Parameters
None
Description
Use
shutdown
to shut down the loopback interface.