R3303-HP HSR6800 Routers Fundamentals Command Reference

125
patch active
Use patch active to activate patches.
Syntax
In standalone mode:
patch active [ patch-number ] slot slot-number
In IRF mode:
patch active [ patch-number ] chassis chassis-number slot slot-number
Views
System view
Default command level
3: Manage level
Parameters
patch-number: Specifies the sequence number of a patch, in the range of 1 to 200. If no sequence
number is specified, this command validates all DEACTIVE patches. If a sequence number is specified,
this command activates the specified patch and all its previous DEACTIVE patches.
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. (In IRF mode.)
Usage guidelines
Before executing this command, you must use the patch load command to load patches.
The patch active command changes the state of DEACTIVE 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 to
RUNNING. If not, the state of ACTIVE patches changes back to DEACTIVE at a reboot.
Examples
In standalone mode:
# Activate patch 3 and all its previous DEACTIVE patches on the standby MPU in slot 1.
<Sysname> system-view
[Sysname] patch active 3 slot 1
# Activate all DEACTIVE patches on the standby MPU in slot 1.
<Sysname> system-view
[Sysname] patch active slot 1
In IRF mode:
# Activate patch 3 and all its previous DEACTIVE patches on the card in slot 2 of IRF member 1.
<Sysname> system-view
[Sysname] patch active 3 chassis 1 slot 2
# Activate all DEACTIVE patches on the card in slot 2 of IRF member 1.
<Sysname> system-view
[Sysname] patch active chassis 1 slot 2