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

Configuration Guide - Basic Configuration

S2720, S5700, and S6720 V200R013C00

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, 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).
Editing an Intermediate File

Editing an Intermediate File

Context

If neither Option 148 nor Option 67 (configuration file information) is configured on the DHCP server, EasyDeploy needs to be 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, ESN or Model of a device and files for the device. After a zero touch device obtains the IP address of the file server, it 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, ESN, or Model, it downloads the files from the file server.

Procedure

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 auto_V200R013C00SPC200.cc (version V200R013C00SPC200), patch file auto_V200R013C00.pat, configuration file auto_V200R013C00.cfg, and web page file auto_V200R013C00.web.7z, write the following content in the intermediate file (fields in the intermediate file must be in lowercase):

    mac=0018-82C5-AA89;vrpfile=auto_V200R013C00SPC200.cc;vrpver=V200R013C00SPC200;patchfile=auto_V200R013C00.pat;cfgfile=auto_V200R013C00.cfg;webfile=auto_V200R013C00.web.7z;
    NOTE:
    • 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.
      mac=0018-82C5-AA89;vrpfile=auto/auto_V200R013C00SPC200.cc;vrpver=V200R013C00SPC200;patchfile=auto/auto_V200R013C00.pat;cfgfile=auto/auto_V200R013C00.cfg;webfile=auto/auto_V200R013C00.web.7z;
    • The file path specified in the intermediate file contains a maximum of 48 characters.
Translation
Download
Updated: 2019-04-04

Document ID: EDOC1100066063

Views: 33730

Downloads: 696

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