139
Parameters
patch-location
: Specifies the patch file path, a string of 1 to 64 characters. Provide this argument if the
patch file is not packaged in a patch package file, and make sure the file name is correct. By default, the
system patch file name is
patch_mpu.bin
and the auxiliary CPU patch file name is
patch_lpu.bin
.
file
filename
: Specifies a patch package file name.
Usage guidelines
Before installing patches, perform the following tasks:
•
Save the patch file or patch package file to the root directory of the Flash memory on each member
device.
•
Use the
display patch information
command to verify that no patches have been installed. If
patches have been installed, uninstall them.
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.
In FIPS mode, the system checks the signature of the patch file for invalidity. If the patch file does not pass
the check, installing the patch fails.
Examples
# Install patch files from Flash memory.
<Sysname> system-view
[Sysname] patch-install flash:
Patches will be installed. Continue? [Y/N]:y
Do you want to run patches after reboot? [Y/N]:y
Installing patches…
Installation completed, and patches will continue to run after reboot.
[Sysname]
# Install patches from a patch package file.
<Sysname> system-view
[Sysname] patch install file:/patch_packeg.bin
Patches will be installed. Continue? [Y/N]:y
Do you want to run 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 the Flash memory to the patch memory area.
Syntax
patch load
slot
slot-number
[
file
filename
]