R2511-HP MSR Router Series Fundamentals Command Reference(V5)

46
Parameters
patch-location: Specifies the patch file location, a string of 1 to 64 characters.
Usage guidelines
This command does not take effect for patch package files.
If the device has only one storage medium, you do not need to use this command to specify the patch file
location.
The patch install patch-location command can change the patch file location that has been specified with
the patch location command. In contrast, the patch install file filename does not.
Examples
# Specify the root directory of the CF card as the patch file location.
<Sysname> system-view
[Sysname] patch location cf:
patch run
Use patch run to confirm ACTIVE patches.
Syntax
patch run [ patch-number ]
Views
System view
Default command level
3: Manage level
Parameters
patch-number: Specifies the sequence number of a patch. If no sequence number is specified, this
command confirms all ACTIVE patches and changes their state to RUNNING. If a sequence number is
specified, this command confirms the specified ACTIVE patch and all its previous patches, and changes
their state to RUNNING.
Usage guidelines
This command is applicable to patches in ACTIVE state only.
After being confirmed, ACTIVE patches are set in RUNNING state and can continue to run after a reboot.
If not being confirmed, ACTIVE patches are set in DEACTIVE state at a reboot.
Examples
# Confirm patch 3 and all its previous ACTIVE patches.
<Sysname> system-view
[Sysname] patch run
# Confirm all ACTIVE patches.
<Sysname> system-view
[Sysname] patch run