1-5
Configuration Prerequisites
Patches are released per device model. Before patching the system, you need to save the appropriate
patch files to the flash of the switch using FTP or TFTP. When saving the patch files, note that:
z
The patch files match the switch 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 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 Flash 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 each board type.
Table 1-1
Patch names for divice
Product
Board type
PATCH-FLAG
Default patch name
4500G —
PATCH-XXX
patch_xxx.bin
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
z
The patch matches the switch type and software version.
z
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.