Device downloads a startup file from PC for upgrading and uploads a configuration file named
config.cfg to PC for backup.
Figure 3-2 Smooth upgrading using the TFTP client function
Configure PC (TFTP Server), the configuration procedure is omitted.
On the PC, enable the TFTP server
Configure a TFTP working directory
Configure Device (TFTP Client)
If the available memory space of the device is not enough, use the fixdisk command to clear the
memory or use the delete /unreserved file-url command to delete the files not in use and then perform
the following operations.
# Enter system view.
# Download application file newest.bin from PC.
<Sysname> tftp 126.96.36.199 get newest.bin
# Upload a configuration file config.cfg to the TFTP server.
<Sysname> tftp 188.8.131.52 put config.cfg configback.cfg
# Specify newest.bin as the main startup file to be used at the next startup.
<Sysname> boot-loader file newest.appbbb.bin main
# Reboot the device and the software is upgraded.
The startup file used for the next startup must be saved under the root directory of the storage medium.
You can copy or move a file to the root directory of the storage medium. For the details of the
boot-loader command, refer to Device Management Commands in the System Volume.