124
Task Remarks
Optional
Configuring the patch file location
Follow these steps to configure the patch file location:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the patch file location
patch location
patch-location
Optional
flash:
by default
NOTE:
•
H3C recommends that you save the patch file to the root directory of the Flash.
•
The directory specified by the patch-location argument must exist on each member switch of an IRF
fabric. If a member switch does not have such a directory, the system cannot locate the patch file on the
member switch.
•
If you install a patch file by specifying the directory where the patch file locates, after the
patch install
command is executed, the system automatically changes patch file location specified with the
patch
location
command to the directory specified by the
patch-location argument of the
patch install
command. For example, if you execute the
patch location
xxx command and then the
patch install
yyy
command, the patch file location automatically changes from xxx to yyy.
Loading a patch file
Loading the correct patch files is the basis of other hotfixing operations.
•
If you install a patch from a patch file, the system loads a patch file from the Flash by default.
•
If you install a patch from a patch package, the system finds the correct patch file in the patch
package file and loads the patch file.
CAUTION:
Set the file transfer mode to binary mode before using FTP or TFTP to upload or download patch files to or
from the Flash of the device. Otherwise, patch file cannot be parsed properly.
Follow these steps to load a patch file:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Load the patch file on from the
storage media (the Flash) to the
specified memory patch area
patch load slot
slot-number
[
file
patch-package
]
Required
Activating patches
After you activate a patch, the patch takes effect and is in the test-run stage. After the device is reset or
rebooted, the patch becomes invalid.
If you find that an ACTIVE patch is of some problem, reboot the device to deactivate the patch, so as to
avoid a series of running faults resulting from patch error.