Configuration prerequisites, One-step patch installation, Step-by-step patch installation – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 262

Advertising
background image

247

Configuration prerequisites

Patches are released per device model. Before patching the system, you need to save the appropriate

patch files to the storage media of the device using FTP or TFTP. When saving the patch files, note that

the following guidelines:

The patch files match the device model and software version. If they are not matched, the hotfixing

operation fails.

Name a patch file properly. Otherwise, the system cannot locate the patch file and the hotfixing
operation fails. The name is in the format of "patch_PATCH-FLAG suffix.bin". The PATCH-FLAG is

pre-defined and support for the PATCH-FLAG depends on device model or card type. The first three

characters of the version item (using the display patch information command) represent the

PATCH-FLAG suffix. The system searches the root directory of the storage media (cfa0 by default) for
patch files based on the PATCH-FLAG. If there is a match, the system loads patches to or install them

on the memory patch area.

One-step patch installation

To install patches in one step, execute the patch install command with specifying either the directory

where the patch file locates.
After you execute the command, the system displays the message "Do you want to continue running

patches after reboot? [Y/N]:".

Entering y or Y: All the specified patches are installed, and turn to the RUNNING state from IDLE.

This equals executing the patch location, patch load, patch active, and patch run commands. The
patches remain RUNNING after system reboot.

Entering n or N: All the specified patches are installed and turn to the ACTIVE state from IDLE. This
equals executing the patch location, patch load, and patch active commands. The patches turn to

the DEACTIVE state after system reboot.

Follow these steps to install the patches in one step:

To do…

Use the command…

Remarks

Enter system view

system-view

Install the patches in one step

patch install patch-location Required

NOTE:

The patch matches the card type and software version.

If you install a patch file by specifying the directory where the patch file locates, the patch install

command will change the patch file location specified with the patch location command to the directory
specified by the

patch-location argument of the patch install command.

To uninstall all patches in one operation, use the undo patch install command, which is the same as
performing

Step-by-step patch uninstallation

.

Step-by-step patch installation

Step-by-step patch installation enables you to control the patch status during the patch installation
process.

Advertising