R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
63
Parameters
patch-location: Specifies the patch file location. It is a string of 1 to 64 characters. 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 location command to configure the patch file location.
By default, the patch file location is cfa0:.
If you want to install a patch package, you do not need to configure this command.
If you save the patch files to other storage media except the Flash on the device, you need to specify the
directory where the patch files locate with the patch-location argument. Then the system loads the
appropriate patch files in the specified directory. If the device has only one storage media, the patch file
is saved to a specific location and you do not need to execute this command.
The patch install command changes the 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.
Examples
# Configure the root directory of the CF card as the patch file location.
<Sysname> system-view
[Sysname] patch location cfa0:/
patch run
Syntax
patch run patch-number
View
System view
Default level
3: Manage level
Parameters
patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file
used.
Description
Use the patch run command to confirm the running of ACTIVE patches.
This command is applicable to patches in the ACTIVE state only.
If the running of a patch is confirmed, after the system reboots, the patch will still be effective.
Examples
# Confirm the running of patch 3 and all the ACTIVE patches before patch 3.
<Sysname> system-view
[Sysname] patch run