< Home

autoupdate enable

Function

The autoupdate enable command enables automatic upgrade through USB.

The undo autoupdate enable command disables automatic upgrade through USB.

Format

autoupdate enable

undo autoupdate enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

  • After automatic upgrade through USB is enabled, if you run the undo usb autoupdate userid command to disable the user ID for automatic upgrade through USB, both automatic upgrade through USB and HMAC check are also disabled.
  • After automatic upgrade through USB is enabled, if you run the undo usb autoupdate config-userid command to delete the password for decrypting the configuration file, automatic upgrade through USB is also disabled.

By default, the function is disabled.

When the device has a configuration file, you need to run the autoupdate enable command to enable the function before implementing automatic upgrade through USB.

Example

# Enable automatic upgrade through USB.

<sysname> system-view
[sysname] usb autoupdate userid Admin@123
[sysname] autoupdate enable
Info: Enable Autoupdate successfully.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >