7
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Install patches in one step.
patch install
{
patch-location
|
file
patch-package
}
•
patch-location
: Specifies the
directory where the patch file
is located.
•
file
patch-package
: Specifies
a patch package file name.
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 approach, see
Uninstalling a patch step by step
Installing a patch step by step
In contrast to the one-step patch installation approach, step-by-step patch installation enables you to
control patch status during the patch installation process.
Step-by-step patch installation task list
Task Remarks
Specifying the patch file location
Optional.
To install a patch package, skip this step.
Required.
Required.
Optional.
Specifying the patch file location
For reliable patch loading, H3C recommends saving patch files to the root directory of Flash memory. To
use a storage medium other than Flash memory, you must specify the patch file location.
If the device has only one storage medium, this task is not required.
To configure the patch file location:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the patch file location.
patch location
patch-location
By default, the patch file location is
flash:
.
NOTE:
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.
Loading a patch file
Loading the correct patch files is the basis of other hotfix operations.
If you install a patch from a patch file, the system loads the patch file from Flash memory by default.