beautypg.com

Installing and running a patch in one step, Installing a patch step by step, Step-by-step patch installation task list – H3C Technologies H3C SecPath F1000-E User Manual

Page 48: Configuring the patch file location

background image

37

Make sure the patch file matches the device model and software version.

Save the patch file to the root directory of the device's storage medium. If the storage medium has
been partitioned, save the files to the root directory of the first partition.

Correctly name a patch file in the patch_PATCH-FlAG suffix.bin format. The PATCH-FLAG suffix must

be the same as the first three characters of the value for the Version field in the output from the
display patch information command. The default patch file name for the firewall is patch_hfw.bin.

If a patch file is not correctly named, the system cannot identify the file.

Installing and running a patch in one step

To install and run patches in one step, use the patch install command. This command changes the state

of installed patches from IDLE to ACTIVE or RUNNING, depending on your choice.
When you execute the patch install command, you must choose to run installed patches or disable
running them after a reboot. If you choose to have installed patches continue to run after a reboot, the

installed patches are set in RUNNING state and remain in this state after a reboot. If not, the installed

patches are set in ACTIVE state and change to the DEACTIVE state at a reboot.
To install and run patches in one step:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Install and run patches in one step. patch install patch-location N/A

NOTE:

To uninstall all ACTIVE and RUNNING patches in one step, use the undo patch install command. For
information about the step-by-step patch uninstall method, see "

Uninstalling a patch step by step

."

Installing a patch step by step

Step-by-step patch installation enables you to control the patch status during the patch installation

process.

Step-by-step patch installation task list

Task Remarks

Configuring the patch file location

Optional. You do not perform this task if the patch file is
saved in the root directory of the storage medium.

Loading a patch file

Required.

Activating patches

Required.

Confirming running patches

Optional.

Configuring the patch file location

For reliable patch loading, H3C recommends saving patch files to the root directory of the storage

medium.