138
[Sysname] patch deactive slot 1
patch delete
Use
patch delete
to remove patches from the patch memory area.
Syntax
patch delete
[
patch-number
]
slot
slot-number
Views
System view
Default command level
3: Manage level
Parameters
patch-number
: Specifies the sequence number of a patch. Values available for this argument depend on
the patch file that has been loaded. 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.
slot
slot-number
: Specifies an IRF member device by its member ID.
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 on IRF member device 1.
<Sysname> system-view
[Sysname] patch delete 3 slot 1
# Remove all patches from the patch memory area on IRF member device 1.
<Sysname> system-view
[Sysname] patch delete slot 1
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.
Syntax
patch install
{
patch-location
|
file
filename
}
undo patch install
Views
System view
Default command level
3: Manage level