display switchover state all

Function

The display switchover state all command checks whether an existing device can perform a master board/slave board switchover.

Format

display switchover state all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
device-mgr read

Usage Guidelines

Usage Scenario

To check whether an existing device meets the master board/slave board switchover condition, you can run the display switchover state command.

Precautions

Before running the slave switchover command, run the display switchover state command to check whether an existing device meets the master board/slave board switchover condition. Specifically, check whether Switchover State is ready. If it is not ready, clear the fault first.

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Check whether an existing device meets the master board switchover condition.
<HUAWEI> display switchover state all
   Chassis           :  Single
   Switchover State  :  No slave
   Switchover Policy :  Board Switchover
   MainBoard         :  1
   SlaveBoard        :  NULL
Table 1 Description of the display switchover state all command output
Item Description
Chassis

ID of the replaced chassis.

Single indicates that an existing device is equipped with a single chassis.

Switchover State

Switchover status on the master board and slave board, for example:

  • Ready: The switchover can be implemented.
  • No slave: There is no slave board.
  • BatchBackup: Backup in batch is implemented.
  • Configuration is not committed: The configuration is not committed.
  • Slave Fault (Causation): The slave board is in an incorrect state.
Switchover Policy

Switchover policy:

  • Board Switchover: A board switchover is implemented.
  • Process Switchover: A process switchover is implemented.
MainBoard

Slot ID of the master board.

SlaveBoard

Slot ID of the slave board.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >