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

43
Parameters
patch-number: Specifies the sequence number of a patch. If no sequence number is specified, this
command deactivates all ACTIVE patches. If a sequence number is specified, this command deactivates
the specified patch and all its subsequent ACTIVE patches.
Usage guidelines
This command is not applicable to patches in RUNNING state.
Examples
# Stop running patch 3 and all its subsequent ACTIVE patches.
<Sysname> system-view
[Sysname] patch deactive 3
# Stop running all ACTIVE patches.
<Sysname> system-view
[Sysname] patch deactive
patch delete
Use patch delete to remove patches from the patch memory area.
Syntax
patch delete [ 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 removes all patches in the patch memory area. If a sequence number is specified, this
command removes the specified patch and all its subsequent patches.
Usage guidelines
This command does not delete patches from the storage media. After being removed from the patch
memory area, the patches changes to the IDLE state.
Examples
# Remove patch 3 and all its subsequent patches from the patch memory area.
<Sysname> system-view
[Sysname] patch delete 3
# Remove all patches from the patch memory area.
<Sysname> system-view
[Sysname] patch delete
patch install
Use patch install to install and run patches in one step.
Use undo patch install to remove all ACTIVE and RUNNING patches from the patch memory area.