Installing a patch step by step, Step-by-step patch installation task list, Configuring the patch file location – H3C Technologies H3C S12500 Series Switches User Manual

Page 126: Loading a patch file

Advertising
background image

114

If you execute the patch install patch-location command, the directory specified for the patch-location

argument replaces the directory specified with the patch location command after the upgrade is
complete.
If you execute the patch install file filename command, the directory specified with the patch location

command does not change.
To uninstall all ACTIVE and RUNNING patches in one step, use the undo patch install command. H3C
recommends this command for uninstalling patches in an IRF fabric. For information about the

step-by-step patch uninstall method, see "

Uninstalling a patch step by step

."

Installing a patch step by step

In contrast to the one-step patch installation method, step-by-step patch installation enables you to control

patch status during the patch installation process.

Step-by-step patch installation task list

Task Remarks

Configuring the patch file location

Optional.
To install a patch package, skip this step.

Loading a patch file

N/A

Activating patches

N/A

Confirming ACTIVE patches

Optional.

Configuring the patch file location

For reliable patch loading, H3C recommends saving patch files to the root directory of the Flash. To use

a storage medium other than Flash, you must specify the directory for saving patch files on the storage

medium.
Make sure the specified patch file directory has been created on each MPU.
To configure the patch file location:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the patch file
location.

patch location patch-location

Optional.
By default, the patch file location is
flash:.

NOTE:

If you execute the patch install

patch-location command, the directory specified for the patch-location

argument replaces the directory specified with the patch location command after the upgrade is complete.

Loading a patch file

Loading patch files is the basis of other hotfix operations.
The patch files for MPUs, interface cards, OAM modules, and switching fabric modules are patch_mr.bin,

patch_lc.bin, patch_oam.bin, and patch_sfc.bin, respectively.

Advertising