8
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.
IMPORTANT:
Set the file transfer mode to binary mode before using FTP or TFTP to upload or download patch files to
or from the Flash memory of the device. Otherwise, patch files cannot be parsed properly.
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
[
file
patch-package
]
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 ACTIVE 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:
Step Command
1.
Enter system view.
system-view
2.
Confirm ACTIVE patches.
patch run
[
patch-number
]
Uninstalling a patch step by step
To uninstall a patch in the step-by-step approach, first stop running the patch and then remove it from the
patch memory area.
Stopping running patches
When you stop running a patch, the patch state becomes DEACTIVE, and the system runs the way it did
before it was installed with the patch.
To stop running patches:
Step Command
1.
Enter system view.
system-view