< Home

Automatically Upgrading System Software and Configuration File (A Configuration File Available on the FW)

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.

Procedure

  1. Set the user ID for automatic upgrade 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

  2. Optional: Enable HMAC check on the FW if the function is required.

    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

  3. Set the password for decrypting the configuration file on the FW.

    [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.

  4. Enable automatic upgrade through USB on the FW.

    [FW] autoupdate enable

  5. Insert the USB flash drive into the FW.

    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.

  6. Wait until the FW restarts.

    The automatic restart takes 10 to 30 minutes depending on the product model and version upgrade.

  7. Verify the upgrade result.

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic