2013年12月4日星期三

Upgrading the S5300 Software Using the USB Flash Drive

1.   Prepare the hardware.
  USB port: The S5328C-EI-24S-SI provide USB 1.1; the S3300-HI, S5300-HI and S6300 provide USB 2.0.
2.   Prepare system software, configuration file, web file, and patch file.
3.   Create the index file.
a.   Create the file usbload_config.txt.
b.   Fill in the file.

  The first line in the index file must be the SN to prevent repeated copy. The SN consists of creation date + time, for example, <sn=201105091219;/>. Before copying a file, the device compares the SNs. If the SN of a file to be copied already exists, the device does not copy the file. After the file is copied, the device stores the SN. The index files without SNs are considered invalid, and the device will stop copying the files.
  If an index file contains the following three formats, the device uses the information in format (2). If the required information is not obtained, the device uses the information in format (3) and then format (1). When only one USB flash drive is used in the upgrade, the values of mac=, esn=, and boardtype= are default. When the device obtains the value default, the device starts to copy the file without comparing it with other files.
  When editing an index file, press Enter when a line is finished. After editing the file, save it.
  Select the upgrade files, including system software, configuration file, Web file, and patch file as required.
  The upgrade procedures for S5300-SI, S3300-HI, S5300-HI and S6300 are the same.
(1) To upgrade the same system software, configuration file, Web file, and patch file on multiple devices, fill in the file in the format <boardtype=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>. 
−    To obtain the value of boardtype, view device labels or run the display version command. boardtype=default indicates that all devices will be upgraded.
−    Fill in the system software name behind vrpfile=.
−    Fill in the version number behind vrpfile=.
−    Fill in the configuration file name behind cfgfile=.
−    Fill in the web file name behind webfile=.
−    Fill in the patch file name behind patchfile=.
The following are the index files of different devices:
<boardtype=S5328C-SI; vrpfile=S5300SI-V200R001C00SPC300.CC; vrpver=V200R001C00SPC300; cfgfile=; webfile=; patchfile=;/>
<boardtype=S5300-HI; vrpfile=S5300HI-V200R001C00SPC300.CC; vrpver=V200R001C00SPC300; cfgfile=; webfile=; patchfile=;/>
The following two formats are used for upgrading a single device:
(2) <mac=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
−    View the device's MAC address on the chassis and fill in the MAC address behind mac= in the format XXXX-XXXX-XXXX.
−    Fill in the system software name behind vrpfile=.
−    Fill in the version number behind vrpfile=.
−    Fill in the configuration file name behind cfgfile=.
−    Fill in the web file name behind webfile=.
−    Fill in the patch file name behind patchfile=.
The following is an example of configuration file:
<mac=0018-8200-0001; vrpfile=; vrpver=; cfgfile=vrpcfg.cfg; webfile=; patchfile=;/>
The following is an example of patch file:
<mac=0018-8200-0002; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=patch.pat;/>
(3) <esn=; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=;/>
−    View the device's ESN and fill in the ESN behind esn=.
−    Fill in the system software name behind vrpfile=.
−    Fill in the version number behind vrpfile=.
−    Fill in the configuration file name behind cfgfile=.
−    Fill in the web file name behind webfile=.
−    Fill in the patch file name behind patchfile=.
The following is an example of patch file:
<esn=210235182110AB000268; vrpfile=; vrpver=; cfgfile=; webfile=; patchfile=patch.pat;/>
The following is an example of system software:
<esn=210235182110AB000268; vrpfile=S5300SI-V200R001C00SPC300.CC; vrpver=V200R001C00SPC300; cfgfile=vrpcfg.cfg; webfile=; patchfile=;/>

If a keyword is not found or matched, the value of this item is considered to be empty.
If the version number behind vrpver= is the same as the current version, the device will not restart.
4.   Copy the index file, system S5352C-EI  software, configuration file, Web file, and patch file to the root directory of the USB flash drive.
 

The index files must be stored to the root directory on the USB flash drive; the other files are stored in the corresponding directories.

没有评论:

发表评论