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

S12700 V200R013C00 Configuration Guide - Basic Configuration

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, ISSU Configuration, BootLoad Menu Operation.
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).
Configuring USB-based Deployment

Configuring USB-based Deployment

Pre-configuration Tasks

Start the device.

Procedure

Before using a USB flash drive to upgrade a device, make an index file and save the index file and files to be loaded to the USB flash drive. Then connect the USB flash drive to the device to start the upgrade.

  1. Run the system-view command to enter the system view.
  2. Run the undo set device usb-deployment disable command to enable the USB-based deployment function.

    The USB-based deployment function is disabled by default. It is recommended that you disable this function after a USB-based deployment is complete. If a device has no configuration file, the USB-based deployment function is always enabled on the device.

  3. (Optional) Run the set device usb-deployment config-file password password command to configure an encryption password for the configuration file.

    NOTE:

    If upgrade files include a configuration file, it is recommended that you run this command to configure an encryption password for the configuration file and compress the configuration file using the configured password before saving it in the USB flash drive. This configuration improves security. This step is mandatory if HMAC check is required for the configuration file.

  4. (Optional) Run the set device usb-deployment hmac command to enable HMAC check for configuration files.

    NOTE:

    If upgrade files include a configuration file, you can enable HMAC check to ensure validity of the configuration file to be loaded.

    During USB-based deployment, if HMAC check is enabled on a device, the device uses the password configured by the set device usb-deployment config-file password command to calculate the HMAC for the configuration file, and compares the calculated value with the HMAC field value in the index file. If the two values are the same, the configuration file is considered valid and loaded to the device. If not, the configuration file is considered invalid and cannot be loaded.

  5. Make an index file.

    For details, see Making an Index File.

  6. Save the index file in the root directory of the USB flash drive and the upgrade files specified in the index file in the specified directory (root directory by default).
  7. Connect the USB flash drive to the master MPU of the device and start the upgrade process.

    Devices to be deployed are unconfigured devices and do not have security measures configured. Therefore, when onsite non-professionals perform deployment task, ensure that they do not perform any unauthorized operations on the devices, USB flash drive, and deployment files.

    • During the upgrade, the system obtains the upgrade files according to the description in the smart_config.ini file and saves the files in the default storage medium. After the upgrade files are copied to the device, they are copied from the master MPU to the standby MPU. In a CSS, the upgraded files are copied to all the MPUs in the CSS.

    • After all the required files are copied, the system activates the files using the method specified in the ACTIVEMODE field.
    • If an upgrade requires the device to restart, the device waits 10 seconds before a restart. In this period, The USB indicator on the MPUA/MPUB/MPUD is steady yellow.

Observing the Indicator to Check the USB-based Deployment Progress

Observe the USB indicator on the MPUA/MPUB/MPUD to determine the progress of USB-based deployment:

  • Steady green: The USB-based deployment has succeeded.
  • Fast blinking green (four times every 1s): The system is reading data from the USB flash drive.
  • Fast blinking red (four times every 1s): USB-based deployment has failed.
  • Steady yellow: The system will restart.

  • Off: An error occurred. For example, no index file is saved in the USB flash drive, no USB flash drive is installed, the USB port is damaged, the ACT indicator is damaged, the USB flash drive contains no file for device deployment, or the switch is restarting.
NOTE:
  • If the USB-based deployment succeeds, the system creates a deployment success report usbload_verify.txt in the root directory of the USB flash drive. You can remove the USB flash drive now.

  • If the USB-based deployment fails, the system creates an error report usbload_error.txt in the root directory of the USB flash drive. View the report to analyze cause of the deployment failure.

  • It is recommended that you run the set device usb-deployment disable command to disable the USB-based deployment function after completing a deployment. Otherwise, an unnecessary upgrade will be triggered if a USB flash drive is connected to the device by mistake, causing service interruption.
Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065643

Views: 11779

Downloads: 41

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