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


If neither Option 148 nor Option 67 (configuration file information) is configured on the DHCP server, EasyDeploy is implemented using an intermediate file.

An intermediate file is saved on a file server to specify information about files to be downloaded. Each line in an intermediate file specifies the MAC address or ESN of a device and files for the device. After an unconfigured device 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.

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.


You can edit an intermediate file by writing MAC addresses, ESNs or Models 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. The detailed operations are as follows:

  1. Create a text file and name it as lswnet.cfg.

  2. Edit the file.

    For example, assume that a device's MAC address is 0018-82C5-AA89, ESN is 93000701xxxxxxxx, Model is S5730-36C-HI 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, write the following content in the intermediate file (fields in the intermediate file must be in lowercase):

    • 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.
    • When editing a line for a device, enter the device's MAC address, ESN, model or all. The MAC address, ESN, and model are prioritized in descending order. 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.
    • You can also specify 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.
    • The file path specified in the intermediate file contains a maximum of 48 characters.
Updated: 2019-10-21

Document ID: EDOC1000178166

Views: 311179

Downloads: 2096

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next