Hotfix configuration example

Network requirements

As shown in Figure 48, the software running on Device is having problems, and a hotfix is needed.

The patch file patch_311.bin is saved on the TFTP server.

The IP address of Device is 1.1.1.1/24, and IP address of TFTP Server is 2.2.2.2/24. Device and TFTP server can reach each other.

Figure 48 Network diagram of hotfix configuration

Configuration procedure

1.Configure TFTP Server. The configuration varies depending on server type and the configuration procedure is omitted.

Enable the TFTP server function.

Save the patch file patch_311.bin to the directory of the TFTP server.

2.Configure Device.

CAUTION:

Make sure the free Flash space of Device is large enough to store the patch file.

#Before upgrading the software, use the save command to save the current system configuration. The configuration procedure is omitted.

#Load the patch file patch_311.bin from the TFTP server to the root directory of Device storage media.

<Device> tftp 2.2.2.2 get patch_311.bin

# Install the patch. <Device> system-view [Device] patch install flash:

Patches will be installed. Continue? [Y/N]:y

Do you want to continue running patches after reboot? [Y/N]:y Installing patches........

Installation completed, and patches will continue to run after reboot.

125