To do…

Use the command…

Remarks

 

 

Required

 

 

After you activate a patch, the

 

 

patch takes effect and is in the

 

 

test-run stage. After the switch is

 

patch active patch-numberslot

reset or rebooted, the patch

Activate the specified patches

becomes invalid.

slot-number

If you find that an ACTIVE patch

 

 

 

is of some problem, reboot the

 

 

switch to deactivate the patch,

 

 

so as to avoid a series of

 

 

running faults resulting from

 

 

patch error.

 

 

 

 

 

Required

 

 

After you confirm the running of a

Confirm the running of the

patch run patch-number[ slot

patch, the patch state becomes

RUNNING, and the patch is in the

specified patches

slot-number ]

normal running stage. After the

 

 

 

 

switch is reset or rebooted, the

 

 

patch is still valid.

 

 

 

 

 

 

NOTE:

Set the file transfer mode to binary mode before using FTP or TFTP to upload/download patch files to/from the Flash of the switch. Otherwise, patch file cannot be parsed properly.

This operation is applicable to patches in the ACTIVE state only.

Step-by-step patch uninstallation

Follow these steps to stop running patches:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

 

 

Required

 

patch deactive patch-numberslot

When you stop running a patch,

Stop running the specified patches

the patch state becomes

slot-number

DEACTIVE, and the system runs in

 

 

 

the way before it is installed with

 

 

the patch.

 

 

 

 

 

Required

 

 

Deleting patches only removes the

 

 

patches from the memory patch

Delete the specified patches from

patch delete patch-numberslot

area, and does not delete them

from the storage medium. The

the memory patch area

slot-number

patches turn to the IDLE state after

 

 

this operation. After a patch is

 

 

deleted, the system runs in the way

 

 

it did before the patch was

 

 

installed.

 

 

 

122