Configuration prerequisites, One-step patch installation – H3C Technologies H3C SecPath F1000-E User Manual
Page 322
5
Configuration Prerequisites
Patches are released per device model or card type. 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 patch files match the device model and software version. If they are not matched, the hotfixing
operation will fail.
•
Name the patch file properly. Otherwise, the system cannot locate the patch file and the hotfixing
operation will fail. 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 medium (CF card 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.
describes the default patch name for each card type.
Table 1 Default patch names for different card types
Product
Card type
PATCH-FLAG
Default patch name
F1000-E All
cards PATCH-HFW patchmain.bin
F5000-A5 All
cards PATCH-HFW patchmain.bin
One-Step Patch Installation
To install patches in one step, use the patch install command. 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 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 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.
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.
•
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.