R3102-R3103-HP 6600/HSR6600 Routers High Availability Command Reference

76
display rpr protection
Use display rpr protection to display RPR protection information.
Syntax
display rpr protection [ { rpr | rpr-bridge } interface-number ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
{ rpr | rpr-bridge } interface-number: Specifies an RPR logical interface by its type and number. If no RPR
logical interface is specified, this command displays the RPR protection information of all the RPR stations
on your device. Support for the types of RPR logical interfaces depends on the device model.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
The protection mode can be configured protection mode and active protection mode. The configured
protection mode is administratively configured but does not necessarily take effect. RPR automatically
checks the protection modes of all the stations to make sure that the same active protection mode is used
on the ring.
Examples
# Display the protection information of Layer 3 RPR logical interface RPR 1.
<Sysname> display rpr protection rpr1
Protection information on interface: RPR1
Configured protection mode: steer
Active protection mode: steer
Protection reversion mode: revertible
Context containment active: 0
Protection state on the west span: sf
Protection state on the east span: sf
Edge state on the west span: edged
Edge state on the east span: edged
Last known neighbour on the west span: 000f-e245-7a43
Last known neighbour on the east span: 000f-e23f-2e80
The number of protections on the west span: 1
The number of protections on the east span: 1
Last protection time on the west span: