17-4
Examples
# Delete patch 3 and all the patches before patch 3 on the device with member ID being 1.
<Sysname> system-view
[Sysname] patch delete 3 slot 1
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. About the switch 4510G, the location is “flash:”.
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, a message "Do you want to continue running patches
after reboot? [Y/N]:" is displayed.
z
Entering
y
or
Y
: All the specified 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.
z
Entering
n
or
N
: All the specified 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.
Note that:
z
Before executing the command, save the patch files to root directories of the member devices'
storage media.
z
The
patch install
command changes the patch file location specified with the
patch location
command to the directory specified by the
patch-file
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
# 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
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...