R2511-HP MSR Router Series Fundamentals Command Reference(V5)
44
Syntax
patch install { patch-location | file filename }
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 the storage media. Provide this argument if the patch file is not packaged in a patch
package file, and make sure the file name is correct.
file filename: Specifies a patch package file name.
Usage guidelines
Before installing patches, save the patch file or patch package file to the root directory of the storage
media on the device.
In FIPS mode, the patch file or the patch package file must pass authenticity verification before it can be
installed.
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.
Examples
# Install the patches located on the Flash.
<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]










