Active and standby switchover configuration
commands
display switchover state
Use display switchover state to display the backup state of the specified main processing unit (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: Displays the backup state of a specified card, where slot-number represents the slot
number of a card. If no slot number is specified, the backup state of the active MPU is displayed. (In
standalone mode)
chassis chassis-number slot slot-number: Displays the backup state of a specified card on a specified
member device of an Intelligent Resilient Framework (IRF) fabric. chassis-number represents the member
ID of a member device of the IRF fabric. slot-number represents the slot number of a card. If the
slot-number argument is not provided, 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 an IRF fabric. (In IRF mode)
<Sysname> display switchover state
1