42
Description
Use the
interface null
command to enter null interface view.
A device has only one null interface, interface Null 0. Interface Null 0 is always up. You cannot remove
or shut down it.
Related commands:
display interface null
.
Examples
# Enter Null 0 interface view.
<Sysname> system-view
[Sysname] interface null 0
[Sysname-NULL0]
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 the
reset counters interface loopback
command 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 the statistics on loopback interface Loopback 2.
<Sysname> reset counters interface loopback 2
reset counters interface null
Syntax
reset counters interface
[
null
[
0
] ]
View
User view