123
After you execute the command, the system displays the "Do you want to continue running patches after
reboot? [Y/N]:" message. If you enter:
•
y
or
Y
: All of 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.
•
n
or
N
: All of 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.
Follow these steps to install the patches in one step:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Install the patches in one step
patch install
{
patch-location |
file
patch-package
}
Required
•
patch-location
: Specifies the
directory where the patch file
locates. Provide this argument
when you install a patch file
which is not packaged in a
patch package file.
•
file
patch-location
: Specifies
the name of the patch package
file. Provide this option when
you install a patch package file.
NOTE:
•
The patch matches the software version.
•
If you install a patch file by specifying the directory where the patch file locates, the
patch install
command will change the patch file location specified with the
patch location
command to the directory
specified by the
patch-location argument of the
patch install
command.
•
If you install a patch file by specifying the filename of the patch package, the
patch install
command will
not change the patch file location specified with the
patch location
command.
•
To uninstall all patches in one operation, use the
undo patch install
command, which is the same as
performing “
Uninstalling a patch step-by-step
.” In an IRF fabric, H3C recommends that you uninstall all
patches in one operation.
Installing a patch step-by-step
Step-by-step patch installation enables you to control the patch status during the patch installation
process.
Step-by-step patch installation task list
Task Remarks
Configuring the patch file location
Optional
To install a patch package, skip this step.
Required
Required