After you run the switch convert mode virtual command, the software automatically backs up
the configuration file in standalone mode, saves it as a standalone.text file, and then deletes the
config.text file. The software also prompts you whether to use the virtual_switch.text file to
overwrite the config.text file, write the VSU-related configurations to the config_vsu_dat file,
and then restart the device.
After you run the switch convert mode standalone command, the active chassis automatically
backs up the configuration file in VSU mode, saves it as a virtual_switch.text file, and then
deletes the config.text file. The active chassis also prompts you whether to use the
standalone.text file to overwrite the config.text file and restart the device.
The switch convert mode command can be used in standalone mode or in VSU mode. In
standalone mode, this command is used to switch the mode of the current chassis. In VSU mode,
this command is used to switch the mode of the device specified by switch_id if switch_id is
available and to switch the mode of the active device if switch_id is not available.
You are advised to first switch the mode of the standby device and then the mode of the active
mode.
The following example converts the device mode from the standalone mode into the VSU mode.
Ruijie# switch convert mode virtual
The following example switches the modes of the standby device (switch_id set to 2) and the
active device (switch_id set to 1) from the VSU mode to the standalone mode.
Ruijie# switch convert mode standalone 2
Ruijie# switch convert mode standalone 1