R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

140
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 6602/HSR6602 router, save the patch file or patch package file to the
root directory of a storage medium on the device.
Before installing patches on the 6604/6608/661 router, 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.
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 6604/6608/6616 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
Do you want to continue running patches after reboot? [Y/N]:y
Installing patches…
Installation completed, and patches will continue to run after reboot.
[Sysname]
patch load
Use patch load to load patches from a storage medium to the patch memory area.
Syntax
patch load slot slot-number [ file patch-package ]