When no configuration file exists on the FW, you need to obtain upgrade files and make an index file before upgrade.
BEGIN [USB CONFIG] SN= [UPGRADE INFO] OPTION=AUTO DEVICENUM=1 RUNMODE=TRADITION [DEVICE1 DESCRIPTION] OPTION=OK ESN=DEFAULT MAC=DEFAULT VERSION= DIRECTORY= FILENUM= TYPEn= FILENAMEn= END
Field |
Content |
|---|---|
SN |
Enter the SN, which is the time of the automatic upgrade through USB in the format of YearMonthDate.HourMinuteSecond. For example, when the upgrade time of the FW is 2014-12-28 08:09:10, the SN is 20141228.080910. NOTE:
When a USB flash drive storing an index file is inserted into the FW, the FW compares its SN field with the one in the index file and starts automatic upgrade through USB when they are different. After the upgrade succeeds, the FW sets its SN field to the one in the index file to avoid unnecessary upgrade. |
RUNMODE |
Device running mode:
As the cloud management and traditional modes apply to different user roles, if you use the configuration file in traditional mode to start a device in cloud management mode, the check result of the compare configuration command must be inconsistent. You are advised to run the save command to save the configuration after starting the device. |
VERSION |
Enter the target version name. |
DIRECTORY |
Enter the path of the upgrade files in the USB flash drive. If the path is the root directory, enter DEFAULT. Otherwise, enter the actual path. For example, if the upgrade files are in the FW folder, enter /FW. |
FILENUM |
Enter the number of upgrade file types. To upgrade either the system software or configuration file, enter 1; to upgrade both, enter 2. |
TYPEn FILENAMEn |
Enter the system software type and name. For example, to upgrade both the system software and configuration file, enter system-software.bin for the system software and system-config.zip for the configuration file as follows:
TYPE1=SYSTEM-SOFTWARE FILENAME1=system-software.bin TYPE2=SYSTEM-CONFIG FILENAME2=system-config.zip NOTE:
To upgrade multiple FWs to various versions, copy the upgrade file package of one FW to the USB flash drive after another FW is successfully upgraded and ensure that the file name is the same as the FILENAME in the index file. |