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


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


Configuration Guide - Basic Configuration

S1720, S2700, S5700, and S6720 V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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).
Editing an Intermediate File

Editing an Intermediate File


An intermediate file is saved on a file server to specify information about an SNMP host's IP address and files to be downloaded. Each line in the intermediate file specifies the MAC address or ESN of a device and files for the device. After a device to be deployed obtains the IP address of the file server, the device downloads the intermediate file from the file server. After the device finds the system software name, system software version, patch file name, web page file name, and configuration file name that match its MAC address or ESN, it downloads the files from the file server. Alarms generated by a pre-configured device can be sent to an SNMP host with a specified address.


You can edit an intermediate file by writing MAC addresses or ESNs of the devices to be configured and names of the matching system software packages, patch files, web page files, and configuration files in the intermediate file. Perform the following steps to edit an intermediate file:

  1. Create a text file with a name extension .cfg.

  2. Edit the file.

    When editing a line for a device, enter the device's MAC address, ESN, or both. The configuration file is mandatory. The system software, web page file, and patch file are optional and can be written in any sequence.

    If the intermediate file contains the software version, the system software package name must be specified in the intermediate file, and the version of the specified system software must be the same as the software version specified in the intermediate file.

    For example, assume that a device's MAC address is 0018-82C5-AA89 and ESN is 9300070123456789, and the device needs to download the software package (version V200R011C10SPC200), patch file auto_V200R011C10.pat, configuration file auto_V200R011C10.cfg, and web page file auto_V200R011C10.web.7z. The SNMP host's IP address is Set the port number used to receive trap messages to 1000. (This configuration is optional. If the port number is not specified, the default port number 162 is used.) Write the following content in the intermediate file (fields in the intermediate file must be in lowercase):


    You can also specify the port number used to receive trap messages, the paths of the system software, patch file, web page file, and configuration file in the intermediate file. In the following file, auto is the folder that saves the files on the file server.

    • If multiple devices need to be configured, each line in the intermediate file records file information for a device. The size of the intermediate file cannot exceed 1 MB.
    • The file path specified in the intermediate file contains a maximum of 48 characters.
Updated: 2019-10-21

Document ID: EDOC1000178166

Views: 251941

Downloads: 1928

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