beautypg.com

Loading a patch file, Activating patches, Confirming running patches – H3C Technologies H3C SecPath F1000-E User Manual

Page 49

background image

38

If the patch file is saved in the root directory, you do not need to specify the patch location. If not, you

must specify the patch file location.
To configure the patch file location:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the patch file
location.

patch location patch-location

Optional.
By default, the patch file location is
the root directory of the storage

medium.

NOTE:

If you execute the patch install

patch-location command, the directory specified for the patch-location

argument replaces the directory specified with the patch location command after the upgrade is complete.

Loading a patch file

Loading the correct patch files is the basis of other patch installation operations.
The system loads patches from the specified patch location. If no patch location has been specified, the
system loads a patch file from the root directory of the storage medium.

IMPORTANT:

For the patch file to be parsed correctly, set the file transfer mode to binary mode when you use FTP or
TFTP to transfer patch files.

To load a patch file:

Step Command

1.

Enter system view.

system-view

2.

Load the patch file from the storage medium to

the patch memory area.

patch load

Activating patches

Activating a patch changes its state to ACTIVE. An ACTIVE patch runs in memory until a reboot occurs.

To have a patch continue to run after a reboot, you must change its state to RUNNING.
To activate patches:

Step Command

1.

Enter system view.

system-view

2.

Activate patches.

patch active [ patch-number ]

Confirming running patches

To have an ACTIVE patch continue to run after a reboot, perform the task in this section.
After you confirm an ACTIVE patch, its state changes to RUNNING and persists after a reboot.
To confirm ACTIVE patches: