After a USB storing all required files is inserted and the automatic upgrade through USB function is enabled, the FW starts to upgrade the system software and configuration file through USB.
Perform this step when the HMAC check function is enabled. The user ID must be the same as the key used by the HMAC value in the index file.
<FW> system-view [FW] usb autoupdate userid userid
If the index file does not contain the HMAC of the upgrade file, do not enable HMAC check; otherwise, the upgrade will fail.
[FW] hmac enable
[FW] usb autoupdate config-userid config-userid
If the configuration file needs to be upgraded and the configuration file in the USB flash drive is an encrypted .zip package, set the password for decompressing the configuration file.
[FW] autoupdate enable
For the USB interface of the FW, see Hardware Overview.
The FW automatically verifies the index file and starts automatic upgrade if the verification succeeds, with the following information displayed on the screen:
Info: Auto update begin, it will take a long time, please don't power down or pull out disk. Info: Udisk0: The SN in the ini file is inconsistent with the device's setting, the system need to be upgraded.
The automatic restart takes 10 to 30 minutes depending on the product model and version upgrade.
Run the display usb usb-id autoupdate state command to check the status of the automatic upgrade through USB.
<FW> display usb 0 autoupdate state detail
Info: Deployment using the USB flash drive is completed successfully, and the device has restarted.