From Web UI, you can use “Firmware Selection” to achieve the purpose.

Web UI path:

Maintenance —> Firmware —> Firmware Selection —> to press “Active Alternate Image” button.

CLI command:

Switch# firmware

Switch (firmware)# swap