137Parameterspatch-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 validates allINACTIVE patches. If a sequence number is specified, this command activates the specified patch and allits previous INACTIVE patches.slot slot-number: Specifies an IRF member device by its member ID.Usage guidelinesBefore executing this command, you must use the patch load command to load patches.The patch active command changes the state of INACTIVE patches to ACTIVE state and runs the patches.To continue to run these patches after a reboot, use the patch run command to change their state toRUNNING. If not, the state of ACTIVE patches changes back to INACTIVE at a reboot.Examples# Activate patch 3 and all its previous DEACTIVE patches on IRF member device 1. system-view[Sysname] patch active 3 slot 1# Activate all DEACTIVE patches on IRF member device 1. system-view[Sysname] patch active slot 1patch deactiveUse patch deactive to stop running patches.Syntaxpatch deactive [ patch-number ] slot slot-numberViewsSystem 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 deactivates allACTIVE patches. If a sequence number is specified, this command deactivates the specified patch and allits subsequent ACTIVE patches.slot slot-number: Specifies an IRF member device by its member ID.Usage guidelinesThis command is not applicable to patches in RUNNING state.Examples# Stop running patch 3 and all its subsequent ACTIVE patches on IRF member device 1. system-view[Sysname] patch deactive 3 slot 1# Stop running all ACTIVE patches on IRF member device 1. system-view