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.
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:
Create a text file with a name extension .cfg.
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_V200R019C10SPC200.cc (version V200R019C10SPC200), patch file auto_V200R019C10.pat, configuration file auto_V200R019C10.cfg, and web page file auto_V200R019C10.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_V200R019C10SPC200.cc;vrpver=V200R019C10SPC200;patchfile=auto_V200R019C10.pat;cfgfile=auto_V200R019C10.cfg;webfile=auto_V200R019C10.web.7z;
snmphostv4=192.168.1.1;snmphostport=1000;mac=0018-82C5-AA89;vrpfile=auto_V200R019C10SPC200.cc;vrpver=V200R019C10SPC200;patchfile=auto_V200R019C10.pat;cfgfile=auto_V200R019C10.cfg;webfile=auto_V200R019C10.web.7z;