194
[Sysname] patch delete 3 slot 5
patch install
Syntax
patch install
patch-location
undo patch install
View
System view
Default Level
3: Manage level
Parameters
patch-location
: A string consisting of 1 to 64 characters. It specifies the directory where
the patch file locates.
Description
Use the
patch install
command to install all the patches in one step.
Use the
undo patch install
to remove the patches.
After you execute the
patch install
command, the message
Do you want to continue
running patches after reboot? [Y/N]:
displays.
Entering
y
or
Y
: All the patches are installed, and turn to the RUNNING state from
IDLE. This equals execution of the commands
patch location
,
patch load
,
patch
active
, and
patch run
. The patches remain RUNNING after system reboot.
Entering
n
or
N
: All the patches are installed and turn to the ACTIVE state from IDLE.
This equals execution of the commands
patch location
,
patch load
and
patch
active
. The patches turn to the DEACTIVE state after system reboot.
Before executing the command, save the patch files to the root directory of the
device's storage medium.
The
patch install
command changes the patch file location specified with the
patch location
command to the directory specified by the
patch-location
argument of the
patch install
command. For example, if you execute the
patch
location
xxx
command and then the
patch install
yyy
command, the patch file
location automatically changes from xxx to yyy.
Examples
Specify the directory for the source patch files to the flash, and run the patches.
<Sysname> system-view