R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
59
Parameters
patch-number: Sequence number of a patch.
Description
Use patch delete to delete patches and all the patches after the specified patch.
If you execute the command with specifying the sequence number of a patch, all the patches (including
the specified patch) after the specified patch will be deleted.
If you execute the command without specifying the sequence number of a patch, all the patches will be
deleted.
This command only removes the patches from the memory patch area, and it does not delete them from
the storage media. The patches are in the IDLE state after this command is executed.
Examples
# Delete patch 3 and all the patches after patch 3.
<Sysname> system-view
[Sysname] patch delete 3
# Delete all the patches.
<Sysname> system-view
[Sysname] patch delete
patch install
Syntax
patch install patch-location
undo patch install
View
System view
Default level
3: Manage level
Parameters
patch-location: A string consisting of 1 to 64 characters. It specifies the directory where the patch file
locates. It can be a root directory of a storage media.
Description
Use patch install to install all the patches in one step.
Use the undo patch install to remove the patches.
When you execute the patch install command, message "Do you want to continue running patches after
reboot? [Y/N]:" is displayed.
• Entering y or Y: All the specified patches are installed, and turn to the RUNNING state from IDLE.
This equals execution of the commands patch location, patch load, patch active, and patch run.
The patches remain RUNNING after system reboot. If a slot is empty, the system will record the
information. When a card is plugged into the slot, the system will install the corresponding patch on
the card.