< Home

Performing a Master/Standby Switchover

Context

If you want another switch in the stack to be the master switch, perform a master/standby switchover to change a standby switch to the new master switch.

After the master/standby switchover is complete, the role of each member switch in the stack changes as shown in Figure 1.

Figure 1 Role changes of member switches in the stack
  • The original standby switch becomes the master switch.
  • The new master switch assigns a specified switch as the standby switch.
  • The original master switch restarts and rejoins the stack and becomes a slave switch.

Procedure

  1. (Optional) Run the display switchover state command to check whether the stack meets requirements for a switchover.
  2. Run the system-view command to enter the system view.
  3. Run the slave switchover enable command to enable master/standby switchover.

    By default, master/standby switchover is enabled.

  4. Run the slave switchover command to perform a master/standby switchover.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >