The slave switchover command performs an active/standby switchover.
Devices that do not support the stack function or do not have the stack function enabled do not support this function.
Usage Scenario
In a stack of multiple switches, you can manually perform an active/standby switchover on the master and standby switches during a software upgrade or system maintenance. After the active/standby switchover is complete, the original master switch restarts, becomes the new standby switch or a slave switch, and joins the stack, and the original standby switch becomes the new master switch.
The forcible active/standby switchover function has been enabled on devices.
The display switchover state command output shows that system has met requirements for an active/standby switchover. The requirements for an active/standby switchover are met only when the value of HA FSM State(master) is realtime or routine backup and the value of HA FSM State(slave) is receiving realtime or routine data. This indicates that data is consistent on the master and standby switches.
Precautions
You can run the slave switchover command to perform an active/standby switchover only in a stack of multiple switches.
If an unregistered member switch exists in the stack, to prevent the stack from being split, do not run the slave switchover command to perform an active/standby switchover.
If the slave switchover command is executed when other commands are being executed, you need to execute the commands that have not taken effect on the new master switch again after the original standby switch becomes the new master switch.