181
For software changes to survive a reboot, you must execute the
install commit
command after you
execute the
install deactivate
command.
The
install activate
command updates both the current software image list and the main startup
software image list. You do not need to use the
install commit
command to commit the software
changes.
To change backup startup images or add inactive images as main startup images, you must use the
boot-loader file
command. For more information about main and backup startup software images,
see
Fundamental Configuration Guide
.
Examples
# Commit software changes.
<Sysname> install commit
Related commands
install activate
install deactivate
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.