Examples
# In standalone mode, activate patch 3 and all the loaded DEACTIVE patches before patch 3 on the
standby MPU in slot 1.
<Sysname> system-view
[Sysname] patch active 3 slot 1
# In standalone mode, activate all the loaded patches on the standby MPU in slot 1.
<Sysname> system-view
[Sysname] patch active slot 1
# In IRF mode, activate patch 3 and all the loaded DEACTIVE patches before patch 3 on the card in slot
2 of the IRF member switch with the member ID of 1.
<Sysname> system-view
[Sysname] patch active 3 chassis 1 slot 2
# In IRF mode, activate all the loaded patches on the card in slot 2 of the IRF member switch with the
member ID of 1.
<Sysname> system-view
[Sysname] patch active chassis 1 slot 2
patch deactive
Syntax
In standalone mode:
patch deactive [ patch-number ] slot slot-number
In IRF mode:
patch deactive [ patch-number ] chassis chassis-number slot slot-number
View
System view
Default level
3: Manage level
Parameters
patch-number: Sequence number of a patch, with values depending on the patch file used.
slot slot-number: Specifies a card by its slot number. (In standalone mode)
chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number
argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of
the slot where the card resides. (In IRF mode)
Description
Use the patch deactive command to stop running patches and the system will run at the original software
version.
If you execute the command with specifying the sequence number of a patch, all the ACTIVE
•
patches (including the specified patch) after the specified patch turn to the DEACTIVE state.
If you execute the command without specifying the sequence number of a patch, all the ACTIVE
•
patches turn to the DEACTIVE state.
This command is not applicable to the patches in the RUNNING state.
•
128