28
[Sysname-LoopBack0]
interface null
Syntax
interface null 0
View
System view
Default level
2: System level
Parameters
0
: Specifies interface Null 0. The null interface number is fixed to 0.
Description
Use
interface null
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 is 0.
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.