install deactivate

Use install deactivate to deactivate patch images.

Syntax

In standalone mode:

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

In IRF mode:

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

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

filename: Specifies a .bin software image file. The file must be saved in the root directory of a storage medium on the global active MPU. This argument can be a case insensitive string of up to 63 characters in the storage medium:/filename.bin format.

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

Patch images stop running in memory after being deactivated. To prevent a deactivated image from running after a reboot, you must commit the software change by using the install commit command.

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 deactivate 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

# Deactivate the patch images in file patch.bin on the card in slot 10 of IRF member 1.

<Sysname> install deactivate patch flash:/patch.bin chassis 1 slot 10 

Related commands

display install active