No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
USB-based Deployment Configuration Commands

USB-based Deployment Configuration Commands

set device usb-deployment disable

Function

The set device usb-deployment disable command disables the USB-based deployment function.

The undo set device usb-deployment disable command enables the USB-based deployment function.

By default, the USB-based deployment function is disabled.

Format

set device usb-deployment disable

undo set device usb-deployment disable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

After the USB-based deployment function is enabled on a device, the device can be upgraded once a qualified USB flash drive is connected to the device. After the USB-based deployment function takes effect, to enhance device security and avoid service interruption caused by unnecessary version upgrades, disable the USB-based deployment function. After the USB-based deployment function is disabled, the device cannot be upgraded using any qualified USB flash drive.

Example

# Enable the USB-based deployment function.
<HUAWEI> system-view
[~HUAWEI] undo set device usb-deployment disable

set device usb-deployment password

Function

The set device usb-deployment password command sets an authentication password for USB-based deployment.

The undo set device usb-deployment password command deletes the authentication password for USB-based deployment.

By default, no authentication password is configured for USB-based deployment.

Format

set device usb-deployment password [ password ]

undo set device usb-deployment password

Parameters

Parameter Description Value
password Specifies the authentication password for USB-based deployment.
  • When the password parameter is not specified, the password is entered in interactive mode.

    The value is a string of 6 to 32 characters or a string of 20 to 392 case-sensitive characters without spaces. The password can be in plain or cipher text.

  • When the password parameter is specified, the password can be entered in plain or cipher text.

    • The password in plain text is a string of 6 to 32 case-sensitive characters without spaces. A secure password must contain at least two types of the following: uppercase letters (A to Z), lowercase letters (a to z), digits, and special characters.
    • The password in cipher text is a string of 20 to 432 characters.

    The password is displayed in ciphertext in the configuration file regardless of whether it is input in plaintext or cipher text.

Views

System view

Default Level

3: Management level

Usage Guidelines

During USB-based deployment, you can check the HMAC of the configuration file to be loaded to ensure validity of the configuration file. After an authentication password is configured, the device uses the password as the key to calculate the HMAC of the configuration file to be loaded based on the HMAC-SHA256 algorithm and compares the calculated HMAC with the value of the HMAC field in the index file. If the two HMAC values are the same, the device considers the configuration file valid, and USB-based deployment can be performed. Otherwise, the device considers the configuration file invalid, and USB-based deployment cannot be performed.

Example

# Set the authentication password for USB-based deployment to Pwd123456.

<HUAWEI> system-view
[~HUAWEI] set device usb-deployment password Pwd123456
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 52009

Downloads: 339

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next