R3303-HP HSR6800 Routers High Availability Command Reference
95
Usage guidelines
To collect statistics of an RPR logical interface within a specific period, you must clear statistics of the
interface before starting statistics collection.
If you do not specify rpr, this command clears the statistics of all interfaces.
If you specify the rpr keyword but not the interface-number argument, this command clears the statistics
of all RPR logical interfaces.
If you specify the rpr keyword and the interface-number argument, this command clears the statistics of
the specified RPR logical interface.
Examples
# Clear the statistics of Layer 3 RPR logical interface RPR 1.
<Sysname> reset counters interface rpr 1
reset counters interface rprpos
Use reset counters interface to clear statistics of the specified RPR physical ports.
Syntax
reset counters interface [ rprpos [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
rprpos: Clears statistics of RPRPOS ports.
interface-number: Specifies the number of an RPR physical port for which statistics are to be cleared.
Usage guidelines
To collect statistics of an RPR physical port within a specific period, you need to clear statistics of the port
before starting statistics collection.
If you do not specify the rprpos keyword, this command clears the statistics of all ports.
If you specify the rprpos keyword but not the interface-number argument, this command clears the
statistics of all RPRPOS ports.
If you specify the rprpos keyword and the interface-number argument, this command clears the statistics
of the specified RPRPOS port.
Examples
# Clear the statistics of RPR physical port RPRPOS 2/1/1.
<Sysname> reset counters interface rprpos 2/1/1
reset rpr protection statistics
Use reset rpr protection statistics to clear RPR protection events statistics.