install activate

Use install activate to activate patch images.

Syntax

In standalone mode:

install activate patch filename { all | slot slot-number }

In IRF mode:

install activate patch filename { all | chassis chassis-number slot slot-number }

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

patch filename: Specifies a patch image file. The file must be saved in the root directory of a storage medium on an MPU. The filename argument can be a string in the slotn#storage medium:/filename.extension or chassismslotn#storage medium:/filename.extension format. The file extension can be .bin or .ipe. The storage medium:/filename.extension section can have a maximum of 63 characters. If the file is saved on the active MPU or global active MPU, the slotn# or chassismslotn# section is optional.

all: Specifies all MPUs.

slot slot-number: Specifies an MPU by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the MPU. (In IRF mode.)

Usage guidelines

An image runs in memory immediately after it is activated. For an activated image to run after a reboot, you must commit the software change by using the install commit command.

After activating patch images, you must terminate your connection to the device and log in again.

If you specify the active MPU (in standalone mode) or the global active MPU (in IRF mode), this command activate patch images both on the MPU and all LPUs.

At reboot, a subordinate device automatically synchronizes the master device's configuration and status data. You must wait for the synchronization to complete before using the install activate command on the subordinate device.

To examine the synchronization progress, use the display device and display system internal ha service-group commands. The synchronization is completed if the following conditions are met:

Examples

# (In standalone mode.) Activate the patch images for the boot and system images on the active MPU (in slot 11).

<Sysname> install activate boot-patch.bin slot 11

This operation maybe take several minutes, please wait..........................Done.

<Sysname> install activate system-patch.bin slot 11

This operation maybe take several minutes, please wait..........................Done.

# (In IRF mode.) Activate the patch images for the boot and system images on the global active MPU (in slot 11 of member device 1).

<Sysname> install activate boot-patch.bin chassis 1 slot 11

This operation maybe take several minutes, please wait..........................Done.

<Sysname> install activate system-patch.bin chassis 1 slot 11

This operation maybe take several minutes, please wait..........................Done.

Related commands

display install active

install commit

install deactivate