F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100

57
Examples
# Remove patch 3 and all its subsequent patches from the patch memory area.
<Sysname> system-view
[Sysname] patch delete 3
# Remove all patches from the patch memory area.
<Sysname> system-view
[Sysname] patch delete
patch install
Use patch install to install and run patches in one step.
Use undo patch install to remove all ACTIVE and RUNNING patches from the patch memory area.
Syntax
patch install { patch-location | file filename }
undo patch install
Views
System view
Default command level
3: Manage level
Parameters
patch-location: Specifies the patch file path, a string of 1 to 64 characters. The file must be saved in the
root directory of the storage medium. Provide this argument if the patch file is not packaged in a patch
package file, and make sure the file name is correct.
file filename: Specifies a patch package file name.
Usage guidelines
Before installing patches, save the patch file or patch package file to the root directory of the storage
medium on the device.
If the storage medium has been partitioned, save the file on the first partition.
The patch install command changes the state of installed patches from IDLE to ACTIVE or RUNNING,
depending on your choice during the command execution process. 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.
The undo patch install command change the state of ACTIVE and RUNNING patches to IDLE, but does
not delete them from the storage medium.
If you execute the patch install patch-location command, the directory specified for the patch-location
argument replaces the directory specified with the patch location command after the upgrade is
complete.
If you execute the patch install file patch-package command, the directory specified with the patch
location command does not change.
In FIPS mode, the signature of the patch file is verified first. If the signature is invalid, the operation fails.