Configuration prerequisites, Installing and running a patch in one step – H3C Technologies H3C S12500 Series Switches User Manual
Page 125

113
Configuration prerequisites
To ensure a successful hotfix operation and normal switch operation after the hotfix operation:
•
Make sure each patch file you are installing matches the switch model, card type, and software
version.
•
In standalone mode, save the patch files for the active MPU, interface cards, or switching fabric
modules to the root directory of the active MPU's storage media, and save the patch files for the
standby MPU to the root directory of the standby MPU's storage media.
•
In IRF mode, save the patch files for the active MPU, interface card, or switching fabric module to
the root directory of the storage media on each member device's active MPU, and save the patch
files for the standby MPU to the root directory of the storage media on each member device's
standby MPU.
•
Make sure the patch files for the active MPU and the standby MPU are the same.
•
To use a patch package file, save the patch package file to the root directory of a storage medium
on each MPU before patch installation.
•
If a partitioned CF card is used, save the patch files or patch package files to the root directory of
the first partition.
•
Correctly name a patch file in the patch_PATCH-FLAG suffix.bin format. The PATCH-FLAG suffix is
pre-defined and must be the same as the letters (digits are excluded) displayed for the Version field
in the output from the display patch information command. The system searches the root directory
of the storage media (Flash by default) for patch files based on the PATCH-FLAG. If a patch file is not
correctly named, the system cannot identify the file.
Installing and running a patch in one step
To install and run patches in one step, execute the patch install command. This command changes the
state of installed patches from IDLE to ACTIVE or RUNNING, depending on your choice.
When executing the patch install command, you must choose to run installed patches or disable running
them after a reboot. If you choose to have installed patches continue to run after a reboot, the installed
patches are set in RUNNING state and remain in this state after a reboot. If not, the installed patches are
set in ACTIVE state and change to the DEACTIVE state at a reboot.
To install and run patches in one step:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Install and run patches in
one step.
patch install { patch-location |
file filename }
In FIPS mode, the patch file or the patch
package file must pass authenticity
verification before the command is
executed.
In this command:
•
patch-location—Specifies the
directory where the patch file is
located.
•
file filename—Specifies a patch
package file name.
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches