R3303-HP 6600/HSR6600 Routers High Availability Command Reference

94
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.
Syntax
reset rpr protection statistics [ rpr interface-number ]
Views
User view
Default command level
1: Monitor level
Parameters
rpr interface-number: Specifies an RPR logical interface by its type and number. If no RPR logical
interface is specified, the RPR protection events statistics for the RPR stations corresponding to all the RPR
logical interfaces on your device are cleared.
Examples
# Clear all RPR protection events statistics.