23-5Configuration PrerequisitesPatches are released per device model type. Before patching the system, you need to save theappropriate patch files to the storage media of the device using FTP or TFTP. When saving the patchfiles, note that:z The patch files match the device model and software version. If they are not matched, thehotfixing operation will fail.z Name the patch file properly. Otherwise, the system cannot locate the patch file and the hotfixingoperation will fail. The name is in the format of "patch_PATCH-FLAG suffix.bin". ThePATCH-FLAG is pre-defined and support for the PATCH-FLAG depends on device model. Thefirst 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 storage medium(flash by default) for patch files based on the PATCH-FLAG. If there is a match, the system loadspatches to or install them on the memory patch area.Table 23-1 describes the default patch name for device.Table 23-1 Default patch names for deviceProduct PATCH-FLAG Default patch name4210G PATCH-XXX patch_xxx.binThe loading and installation are performed on all member devices. Before these operations, save thesame patch files to the root directories in the storage media of all member devices.One-Step Patch InstallationYou 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 patchrun. 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. Thepatches turn to the DEACTIVE state after system reboot.Follow these steps to install the patches in one step:To do… Use the command… RemarksEnter system view system-view —Install the patches in one step patch install patch-location Required