R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

43
To do… Use the
command…
Remarks
Configure the patch file location patch location patch-location
Optional
flash: by default
NOTE:
If you install a patch file by specifying the directory where the patch file locates, after the patch install
command is executed, the system automatically changes patch file location specified with the patch
location command to the directory specified by the
patch-location
argument of the patch install
command. For example, if you execute the patch location
xxx
command and then the patch install
yyy
command, the patch file location automatically changes from xxx to yyy.
3. Loading a patch file
Loading the right patch files is the basis of other hotfixing operations.
CAUTION:
Set the file transfer mode to binary mode before using FTP or TFTP to upload or download patch files to or
from the storage media of the device. Otherwise, patch file cannot be parsed properly.
Follow these steps to load a patch file: (centralized device)
To do… Use the command…
Remarks
Enter system view system-view
Load the patch file from the storage
media to the memory patch area
patch load Required
4. Activating patches
After you activate a patch, the patch takes effect and is in the test-run stage. After the device is reset or
rebooted, the patch becomes invalid.
If you find that an ACTIVE patch is of some problem, reboot the device to deactivate the patch, so as to
avoid a series of running faults resulting from patch error.
Follow these steps to activate patches:
To do… Use the command…
Remarks
Enter system view system-view
Activate patches patch active patch-number Required
5. Confirming running patches
After you confirm the running of a patch, the patch state becomes RUNNING, and the patch is in the
normal running stage. After the device is reset or rebooted, the patch is still valid.
Follow these steps to confirm the running of the patches:
To do… Use the command…
Remarks
Enter system view system-view
Confirm the running of patches
patch run patch-number Required