
45
Examples
# Create interface loopback 0.
<Sysname> system-view
[Sysname] interface loopback 0
[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 it down.
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
[
0
] ]
View
User view
Default level
2: System level
Parameters
0
: Loopback interface number, which is fixed at 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.