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.
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:
Create a text file and name it as lswnet.cfg.
Edit the file.
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. Write the following content in the intermediate file lswnet.cfg (fields in the intermediate file must be in lowercase):
mac=0018-82C5-AA89;vrpfile=auto_V200R019C10SPC200.cc;vrpver=V200R019C10SPC200;patchfile=auto_V200R019C10.pat;cfgfile=auto_V200R019C10.cfg;webfile=auto_V200R019C10.web.7z;
mac=0018-82C5- AA89;vrpfile=auto/auto_V200R019C10SPC200.cc;vrpver=V200R019C10SPC200;patchfile=auto/auto_V200R019C10.pat;cfgfile=auto/auto_V200R019C10.cfg;webfile=auto/auto_V200R019C10.web.7z;
In the preceding file, auto is the folder that saves the files on the file server.