13-4TFTP Client Configuration ExampleSingle Device UpgradeNetwork requirementsz As shown in Figure 13-2, use a PC as the TFTP server and Device as the TFTP client. Their IPaddresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. An available route exists between Deviceand PC.z Device downloads a startup file from PC for upgrading and uploads a configuration file namedconfig.cfg to PC for backup.Figure 13-2 Smooth upgrading using the TFTP client functionConfiguration procedure1) Configure PC (TFTP Server), the configuration procedure is omitted.z On the PC, enable the TFTP serverz Configure a TFTP working directory2) Configure Device (TFTP Client)If the available memory space of the device is not enough, use the fixdisk command to clear thememory or use the delete /unreserved file-url command to delete the files not in use and then performthe following operations.# Enter system view. system-view# Download application file newest.bin from PC. tftp 1.2.1.1 get newest.bin# Upload a configuration file config.cfg to the TFTP server. tftp 1.2.1.1 put config.cfg configback.cfg# Specify newest.bin as the main startup file to be used at the next startup. boot-loader file newest.bin main# Reboot the device and the software is upgraded. reboot