50
<Sysname> system-view
[Sysname] interface null 0
[Sysname-NULL0]
reset counters interface loopback
Use reset counters interface loopback to clear the statistics on the specified or all
loopback interfaces.
Syntax
reset counters interface loopback [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a loopback interface by its number, which can be the number of
any existing loopback interface. If you do not specify the
interface-number argument, the
command clears the statistics on all loopback interfaces.
Usage guidelines
To determine whether a loopback interface works correctly within a period by collecting the traffic
statistics within that period, first use the
reset counters interface [ loopback
[ interface-number ] ] command to clear the statistics. Then have the interface automatically
collect the statistics.
This command is available only if a minimum of one loopback interface has been created.
Examples
# Clear the statistics on Loopback 1.
<Sysname> reset counters interface loopback 1
Related commands
display interface loopback
reset counters interface null
Use reset counters interface null to clear the statistics on the null interface.
Syntax
reset counters interface null [ 0 ]
Views
User view
Predefined user roles
network-admin
Parameters
0: Specifies the number of the null interface, which is always 0.