51
Usage guidelines
To determine whether the null interface works correctly within a period by collecting the traffic
statistics within that period, first use the
reset counters interface [ null [ 0 ] ] command
to clear the statistics. Then have the interface automatically collect the statistics.
Examples
# Clear the statistics on Null 0.
<Sysname> reset counters interface null 0
Related commands
display interface null
shutdown
Use shutdown to shut down a loopback interface.
Use
undo shutdown to bring up a loopback interface.
Syntax
shutdown
undo shutdown
Default
A loopback interface is up.
Views
Loopback interface view
Predefined user roles
network-admin
Usage guidelines
Use the shutdown command with caution, because the command disconnects the connection of
the interface and disables the interface from communicating.
Examples
# Shut down Loopback 1.
<Sysname> system-view
[Sysname] interface loopback 1
[Sysname-LoopBack1] shutdown