141If you save the patch files to other storage media except the Flash on the device, you need to specify thedirectory where the patch files locate with the patch-location argument. Then the system loads theappropriate patch files in the specified directory. If the device has only one storage medium, the patchfile is saved to a specific location and you do not need to execute this command. The specific locationvaries with device model.The patch install command changes the patch file location specified with the patch location command tothe directory specified by the patch-location argument of the patch install command. For example, if youexecute the patch location xxx command and then the patch install yyy command, the patch file locationautomatically changes from xxx to yyy. If you execute the patch install command with providing thefilename of a patch package, the system will not change the patch file location.Examples# Specify the root directory of the Flash memory as the patch file location. system-view[Sysname] patch location flash:patch runUse patch run to confirm ACTIVE patches.Syntaxpatch run [ patch-number ] [ slot slot-number ]ViewsSystem viewDefault command level3: Manage levelParameterspatch-number: Specifies the sequence number of a patch. Values available for this argument depend onthe patch file that has been loaded. If no sequence number is specified, this command confirms allACTIVE patches (including ACTIVE patches for auxiliary CPUs) and changes their state to RUNNING. Ifa sequence number is specified, this command confirms the specified ACTIVE patch and all its previouspatches, and changes their state to RUNNING.slot slot-number: Specifies an IRF member device by its member ID. If no member device is specified, thecommand applies to all member devices.Usage guidelinesAfter being confirmed, ACTIVE patches are set in RUNNING state and can continue to run after a reboot.If not being confirmed, ACTIVE patches are set in DEACTIVE state at a reboot.Examples# Confirm patch 3 and all its previous ACTIVE patches on IRF member device 1. system-view[Sysname] patch run 3 slot 1# Confirm all ACTIVE patches on IRF member device 1. system-view[Sysname] patch run slot 1