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

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 an intermediate file specifies the MAC address, ESN, or model of a device and files for the device. After a device to be deployed 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. Alarms generated by a pre-configured device can be sent to an SNMP host with a specified address.

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. Perform the following steps to edit an intermediate file:

  1. Create a text file with a name extension .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. The SNMP host's IP address is 192.168.1.1. 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):

    snmphostv4=192.168.1.1;snmphostport=1000;
    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 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.

      snmphostv4=192.168.1.1;snmphostport=1000;
      mac=0018-82C5-AA89;vrpfile=auto_V200R013C00SPC200.cc;vrpver=V200R013C00SPC200;patchfile=auto_V200R013C00.pat;cfgfile=auto_V200R013C00.cfg;webfile=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: 40335

Downloads: 709

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next