119Default level3: Manage levelParameterspatch-location: A string consisting of 1 to 64 characters. It specifies the directory where the patch filelocates. It can be a root directory of a storage media or be in the format of "root directory + patch filename". Support for the argument depends on the device model.DescriptionUse the patch install command to install all the patches in one step.Use the undo patch install to remove the patches.When you execute the patch install command, the following message appears: Do you want to continuerunning patches after reboot? [Y/N]:• If you enter 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 patch run.The patches remain RUNNING after system reboot.• If you enter 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. The patchesturn to the DEACTIVE state after system reboot.Before executing the command, save the patch files to root directories in the storage media of themember switches.Examples# Install the patches located on the Flash. system-view[Sysname] patch-install flash:Patches will be installed. Continue? [Y/N]:yDo you want to run patches after reboot? [Y/N]:yInstalling patches…Installation completed, and patches will continue to run after reboot.[Sysname]patch loadSyntaxpatch load slot slot-numberViewSystem viewDefault level3: Manage levelParametersslot slot-number: Specifies the ID of a member switch of the current IRF virtual device.DescriptionUse the patch load command to load the patch file on the storage media to the memory patch area.