1-5
Configuration Prerequisites
Patches are released per device model 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:
z
The patch files match the device model and software version. If they are not matched, the hotfixing
operation will fail.
z
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. 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 (flash 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.
Table 1-1
describes the default patch name for device.
Table 1-1
Default patch names for device
Product
PATCH-FLAG
Default patch name
4800G PATCH-XXX patch_xxx.bin
The loading and installation are performed on all member devices. Before these operations, save the
same patch files to the root directories in the storage media of all member devices.
One-Step Patch Installation
You can use the
patch install
command to install patches in one step. After you execute the command,
the system displays the message "Do you want to continue running patches after reboot? [Y/N]:".
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.
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