The upgrade2 image-file factory-default command upgrades the system by using upgrade2 command and recoveries configuration to factory default settings.
upgrade2 image-file <image-name> factory-default
Specifies the image name with bin format (*.bin).
Before upgrading, save the important data in Flash to the local PC through FTP or TFTP, and then upload it to the switch after the upgrade is completed.
- Upgrade the system by using upgrade2 command and recovery configuration to factory default settings.