R3303-HP HSR6800 Routers Fundamentals Command Reference

128
Syntax
patch install { patch-location | file patch-package }
undo patch install
Views
System view
Default command level
3: Manage level
Parameters
patch-location: Specifies the patch file path, a string of 1 to 64 characters. The file must be saved in the
root directory of a storage medium.
file patch-package: Specifies a patch package file.
Usage guidelines
IMPORTANT:
If you have installed patches before executing this command to install a patch package, uninstall the
patches first.
Before installing patches on the router, you must save the patch package file to the root directory of a
storage medium on both MPUs. If patch files are used, save the patch files as follows:
Save the patch files for the active MPU, interface cards, or switching fabric modules to the root
directory of a storage medium on the active MPU. The active MPU must be in the same chassis as
the interface cards and switching fabric modules.
Save the patch files for the standby MPU to the root directory of a storage medium on the standby
MPU.
If a slot is empty on the router, the system records the information. When a card is installed into the slot,
the system installs the corresponding patches on the card.
In FIPS mode, the patch file or the patch package file must pass authenticity verification before the patch
install command is executed.
The patch install command changes the state of installed patches from IDLE to ACTIVE or RUNNING,
depending on your choice during the command execution process. 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 not, the installed patches are set in ACTIVE state and change to the DEACTIVE state
at a reboot.
The undo patch install command change the state of ACTIVE and RUNNING patches to IDLE, but does
not delete them from the storage media.
The patch install patch-location command can change the patch loading location that has been
specified with the patch location command. The patch install file patch-package command does not
change the patch loading location.
Examples
# Install patches from a patch package file.
<Sysname> system-view
[Sysname] patch install file patch_package.bin
Patches will be installed. Continue? [Y/N]:y