R3303-HP HSR6800 Routers High Availability Command Reference
1
Active and standby switchover configuration
commands
display switchover state
Use display switchover state to display the backup state of the specified MPU.
Syntax
In standalone mode:
display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display switchover state [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
slot slot-number: Specifies a card by its slot number. If no slot number is specified, the backup state of the
active MPU is displayed. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the ID of the IRF member device, and the slot-number argument represents the
number of the slot that holds the card. If this option is not specified, the backup state of the active MPU
of the IRF fabric is displayed. (In IRF mode.)
|: 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.
Examples
# Display the backup state on the active MPU (in standalone mode).
<Sysname> display switchover state
Master HA State to Slot [1]: Realtime backup to slave.
# Display the backup state on the active MPU of the IRF fabric (in IRF mode).
<Sysname> display switchover state
Master HA State to Chassis 1 Slot 1: Realtime backup to slave.
Master HA State to Chassis 2 Slot 5: Realtime backup to slave.