30
Parameters
interface-number
: Specifies a loopback interface by its number. The loopback interface number is
always 0.
Usage guidelines
Clear the existing statistics on the interface before starting to collect new traffic 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
Use
reset counters interface null
to clear statistics on the null interface.
Syntax
reset counters interface
[
null
[
0
] ]
Views
User view
Default command level
2: System level
Parameters
0
: Specifies a null interface by its number, which is always 0.
Usage guidelines
Clear the existing statistics on the interface before starting to collect new traffic 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 for interface Null 0.
<Sysname> reset counters interface null 0
shutdown
Use
shutdown
to shut down the current loopback interface.
Use
undo shutdown
to bring up the current loopback interface.
Syntax
shutdown
undo shutdown