R3303-HP HSR6800 Routers Fundamentals Configuration Guide
118
Installing and running patches in one step
To install and run patches in one step, use the patch install command. This command changes the state
of installed patches from IDLE to ACTIVE or RUNNING, depending on your choice.
When executing the patch install command, you must choose to run installed patches or disable running
them after a reboot. If you choose to have installed patches continue to run after a reboot, the installed
patches are set in RUNNING state and remain in this state after a reboot. If you choose to discontinue
running them after a reboot, the installed patches are set in ACTIVE state and change to the DEACTIVE
state at a reboot.
In FIPS mode, the patch file or package file must pass authenticity verification before the patch install
command can be executed.
NOTE:
• If you up
g
rade the software version after installin
g
patches, and then roll back to the previous version,
the installed patches become invalid and require reinstallation.
• If you install a new MPU or replace an MPU after a patch installation, separately install the patches on
the new MPU.
To install and run patches in one step:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Verify that no patches have
been installed.
display patch information
You can execute this command in
any view.
Use this command to verify
whether patches have been
installed on the router.
The installed patches can cause
patch installation failures.
If patches have been installed,
move to the next step. If no patches
have been installed, skip the next
step.
3. Uninstall patches that have
been installed.
undo patch install N/A
4. Install and run patches in one
step.
patch install { patch-location | file
patch-package }
If a patch package file is used,
specify the file patch-package
keyword and argument
combination.
If a patch file is used, specify the
patch-location argument.
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.
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 method, see "Uninstalling a patch step by step."