R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
61
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 or be in the format of “root directory + patch file
name”.
Description
Use the patch install command 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.
• Entering n or N: All the specified patches are installed and turn to the ACTIVE state from IDLE. This
equals execution of the commands patch location, patch load and patch active. The patches turn to
the DEACTIVE state after system reboot.
Note that the following rules apply:
• If you install patches from patch packages, save the patch packages to any directory on the device.
• If you install patches from patch files, save the patch files to the root directory of the storage media.
If the storage media is a CF card with partitions, save the patch files to the root directory of the first
partition.