install activate
To add software functionality to the active software set, use the install activate command in System Admin EXEC mode or XR EXEC mode.
install activate {package | id add-id} [noprompt]
Syntax Description
package |
Enter the package name(s) separated by space. Example: ncs6k.iso ncs6k_upgrade.iso
|
||
id add-id |
Specifies the ID number of an install add operation. The command activates all packages that were added in the specified install add operation. The ID number of an install add operation is indicated in the syslog displayed during the operation and in the output of the show install log command. Up to 64 install add operations can be specified. |
||
noprompt |
(Optional) Sets Yes to any response prompted from an install operation when this keyword is used in the command.
|
Command Default
The install activate command can be executed without any keywords if the install prepare is already executed.
Command Modes
System Admin EXEC mode
XR EXEC mode
Command History
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Release 6.1.2 |
Support for noprompt keyword was added. |
Usage Guidelines
Use the install activate command to activate ISO images, software packages or SMUs for all valid cards. Information within the package is used to verify compatibility with the target cards and with the other active software. Actual activation is performed only after the package compatibility and application program interface (API) compatibility checks have passed.
Specifying Packages to Activate
You can either use the id add-id keyword and argument to activate all packages that were added in one or more specific install add operations, or specify packages by name. The operation ID of an install add operation is indicated in the syslog displayed during the operation and in the output of the show install log command. If you specify packages according to operation ID, all the packages that were added by the specified operation must still be on the router.
Note |
Activating a Software Maintenance Update (SMU) does not cause any earlier SMUs, or the package to which the SMU applies, to be automatically deactivated. |
Task ID
Task ID |
Operations |
---|---|
pkg-mgmt |
execute |
Examples
sysadmin-vm:0_RP0#install activate ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
result Wed Sep 18 05:35:06 2013 Install operation 8 (install activate) started by user 'root' will continue asynchronously.
sysadmin-vm:0_RP0# 0/3:Sep 18 00:35:09.189 : pm[1736]: %INFRA-Process_Manager-3-PROCESS_RESTART : Process slice_manager restarted
LC/0/3/CPU0:Sep 18 00:37:39.942 : npu_driver[122]: %PLATFORM-NPU-3-SW_ERROR : Slice Manager disconnect notification received, Success
sysadmin-vm:0_RP0# Wed Sep 18 05:36:10 2013 Install operation 8 completed successfully.
sysadmin-vm:0_RP0# 0/RP0:Sep 18 00:36:10.075 : inst_mgr[3768]: %INFRA-INSTMGR-6-OPERATION_SUCCESS : Install operation 8 completed successfully