22-9
Displaying and Maintaining Hotfix
To do…
Use the command…
Remarks
Display the patch information
display patch information
Available in any view
Hotfix Configuration Examples
Hotfix Configuration Example (Single Device)
Network requirements
z
The software running on Device is of some problem, and thus hotfixing is needed.
z
The patch file
patch_xxx.bin
is saved on the TFTP server.
z
The IP address of Device is 1.1.1.1/24, and IP address of TFTP Server is 2.2.2.2/24. An available
route exists between Device and TFTP server.
Figure 22-6
Network diagram of hotfix configuration
Configuration procedure
1) Configure TFTP Server. Note that the configuration varies depending on server type and the
configuration procedure is omitted.
z
Enable the TFTP server function.
z
Save the patch file
patch_xxx.bin
to the directory of the TFTP server.
2) Configure
Device
Make sure the free flash space of the device is big 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_xxx.bin
from the TFTP server to the root directory of the device storage
medium.
<Device> tftp 2.2.2.2 get patch_xxx.bin
# Install the patch.
<Device> system-view
[Device] patch install flash:
Patches will be installed. Continue? [Y/N]:y