The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To use these commands in System Admin VM, you must be in a user group associated with appropriate command rules and data rules. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
To add software functionality to the active software set, use the install activate command in EXEC or System Admin EXEC mode or XR EXEC mode.
EXEC Mode:
install activate { device:package | id add-id } [ auto-abort-timer time ] [ location node-id ] [ asynchronous | synchronous ] [parallel-reload] [ prompt-level { default | none } ] [test] [ pause sw-change ]
Administration EXEC Mode:
install activate { package | id add-id }
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. |
The install activate command can be executed without any keywords if the install prepare is already executed.
EXEC Mode
EXEC
System Admin EXEC mode
XR EXEC mode
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
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.
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. |
Note | Some packages do not support SDR-specific activation and can only be activated for all SDRs simultaneously from administration EXEC mode. For detailed instructions, see the Managing Cisco IOS XR Software Packages module of System Management Configuration Guide for Cisco NCS 6000 Series Routers. |
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
To copy the contents of the ISO image, package, and SMUs to the software repository, use the install add command in EXEC or System Admin EXEC mode or XR EXEC mode.
Administration EXEC Mode:
install add source source-path package-name
EXEC Mode:
install add [ source source-path | tar ] file [ activate [ pause sw-change ] [ auto-abort-timer time ] [ location node-id ] ] [ asynchronous | synchronous ] [parallel-reload] [ prompt-level { default | none } ]
source source |
|
package name |
Enter the package name(s) separated by space. Example: tftp://server/directory/ file1 file2 file3 |
Packages are added to the software repository, but are not activated.
The operation is performed in asynchronous mode. The install add command runs in the background, and the EXEC prompt is returned as soon as possible.
EXEC
XR EXEC mode
System Admin EXEC mode
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Release 5.0.1 |
Support of ftp and sftp protocols was introduced. |
Use the install add command to unpack the package software files from an ISO image, tar file, package, and SMUs and copy them to the software repository.
You can use ftp, tftp, or sftp protocols to transfer files from the network server to the router. ftp and sftp protocols are supported from R5.0.1. In case of ftp and sftp protocols, you need to enter password within 60 seconds to continue with the install add operation. Else, the operation is aborted. To use ftp and sftp protocols on the XR VM, it is mandatory that the ncs6k-k9sec package has been installed on the router.
sysadmin-vm:0_RP0#install add source tftp://223.255.254.254/auto/tftp-infra/wmori/ng-install/images/40I/sysadmin-smu/ ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i.smu result Wed Sep 18 05:06:24 2013 Install operation 3 (install add) started by user 'root' will continue asynchronously. sysadmin-vm:0_RP0# Wed Sep 18 05:06:30 2013 Install operation 3 completed successfully. sysadmin-vm:0_RP0# 0/RP0:Sep 18 00:06:30.471 : inst_mgr[3768]: %INFRA-INSTMGR-6-OPERATION_SUCCESS : Install operation 3 completed successfully
Note | When you create a disaster recovery partition for the first time (if a hard disk recovery partition does not exist), the entire hard disk is formatted. So ensure that you backup the important data or files such as logs, configurations, and trace files from XR and Calvados hard disks to a location outside the system. |
install backup /harddisk:/location of the .tar file location node-id
tar file location |
|
||
node-id |
The node-id argument is expressed in the rack/slot notation. |
None
System Admin EXEC
Release | Modification |
---|---|
Release 5.2.5 |
This command is introduced. |
sysadmin-vm:0_RP0#install backup /harddisk:/dr-boot.tar location 0/RP0
To remove a package from the active software set, use the install deactivate command in EXEC or System Admin EXEC mode or XR EXEC mode.
EXEC Mode:install deactivate { id add-id | device:package } [ auto-abort-timer time ] [ location node-id ] [ asynchronous | synchronous ] [parallel-reload] [ prompt-level { default | none } ] [test] [ pause sw-change ]
install deactivate { package | id add-id }
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 deactivates 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 16 install add operations can be specified. |
The install deactivate operation is performed in asynchronous mode: The command runs in the background, and the router prompt is returned as soon as possible.
Administration EXEC mode: The package is deactivated on all supported nodes in the system.
EXEC mode: The package is deactivated on all supported nodes for the SDR.
EXEC
System Admin EXEC mode
XR EXEC mode
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Deactivating a package removes the activated package from the active software set from all nodes. When a deactivation is attempted, the system runs an automatic check to ensure that the package is not required by other active packages. The deactivation is permitted only after all compatibility checks have passed.
The following conditions apply to software deactivation:
You can either use the id add-id keyword and argument to deactivate 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 | To enter administration EXEC mode, you must be logged in to the owner SDR and have root-system access privileges. |
If the deactivation requires a router reload, a confirmation prompt appears.
sysadmin-vm:0_RP0#install deactivate ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i result Wed Sep 18 05:45:49 2013 Install operation 9 (install deactivate) started by user 'root' will continue asynchronously. sysadmin-vm:0_RP0# LC/0/3/CPU0:Sep 18 00:48:22.153 : npu_driver[122]: %PLATFORM-NPU-3-SW_ERROR : Slice Manager disconnect notification received, Success 0/3:Sep 18 00:45:50.978 : pm[1736]: %INFRA-Process_Manager-3-PROCESS_RESTART : Process slice_manager restarted Wed Sep 18 05:45:51 2013 Install operation 9 completed successfully. sysadmin-vm:0_RP0# 0/RP0:Sep 18 00:45:51.260 : inst_mgr[3768]: %INFRA-INSTMGR-6-OPERATION_SUCCESS : Install operation 9 completed successfully
To extract individual ISO images from main ISO package and place the installable files in the repository, use the install extract command in the System Admin EXEC or XR EXEC mode. Executing this command from XR VM extracts only the xr.ios package. Executing this command in
install extract package-name
package-name |
Enter package names separated by space. For example, ncs6k-mini-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
sysadmin-vm:0_RP0#install extract ncs6k-mini-x-5.2.3.09I
To prepare the installable files (ISO image, packages and SMUs) for activation, use the install prepare command in the System Admin EXEC or XR EXEC mode. This command performs pre-activation checks and the loads individual components of the installable files on to the router setup. The advantage of preparing the installable files is that the time required for subsequent activation is considerably reduced.
install prepare { package-name | clean | id id }
package-name |
Enter package name(s) separated by space. Example: ncs6k-mini-x-5.0.1.09I ncs6k-mcast-5.0.1.09I ncs6k-mpls-5.0.1.09I |
clean |
The prepare operation is undone. |
id id |
Specifies the ID of the add operation whose packages are to be prepared. |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Release 5.0.1 |
Support for ISO images was introduced. |
sysadmin-vm:0_RP0#install prepare ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i result Wed Sep 18 05:18:45 2013 Install operation 4 (install prepare) started by user 'root' will continue asynchronously. sysadmin-vm:0_RP0# Wed Sep 18 05:18:46 2013 Install operation 4 completed successfully. sysadmin-vm:0_RP0# 0/RP0:Sep 18 00:18:46.600 : inst_mgr[3768]: %INFRA-INSTMGR-6-OPERATION_SUCCESS : Install operation 4 completed successfully
To prepare the installable files (ISO image, packages and SMUs) for activation using In-Service Software Upgrade (ISSU), use the install prepare issu command in the System Admin EXEC or XR EXEC mode. This command performs pre-activation checks and the loads individual components of the installable files in the router setup. The advantage of preparing the installable files is that the time required for subsequent activation is reduced considerably.
install prepare issu package-name
package-name |
Enter package names separated by space. For example, ncs6k-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
sysadmin-vm:0_RP0#install prepare issu ncs6k-sysadmin-5.0.0.40I
Fri Jan 16 08:15:06.145 UTC
Jan 16 08:15:07 Install operation 1 started by :
install prepare issu ncs6k-sysadmin-5.2.3.14I host-5.2.314I
Jan 16 08:15:07 Package list:
Jan 16 08:15:07 ncs6k-sysadmin-5.2.3.14I
Jan 16 08:15:07 host-5.2.314I
Jan 16 08:15:08 Install operation will continue in the background
install activate issu [abort-disable][preserve-state] [package-name] | [install-add-id]
abort-disable |
Disables ISSU aborts initiated by applications and turns off the abort timer. Manually aborting the ISSU installation is supported. |
preserve-state |
Preserves the state of secondary VM if ISSU is aborted. If an ISSU procedure is aborted due to errors, the secondary VMs are cleared by default. This keyword preserves the state of the secondary VM. |
package-name |
Enter package name separated by space. For example, ncs6k-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I |
install-add-id |
Specify the ID of package to be activated. |
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router# install activate issu ncs6k-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I
To run the load prepare phase to the active software set, use the install activate issu load command in System Admin EXEC or XR EXEC mode. This command downloads the new image (V2) to all nodes in the router. The new image is checked for compatibility to ensure that the router can be upgraded.
install activate issu load [abort-disable][preserve-state] [package-name] | [install-add-id]
abort-disable |
Disables ISSU aborts initiated by applications and turns off the abort timer. Manually aborting the ISSU installation is supported. |
preserve-state |
Preserves the state of secondary VM if ISSU is aborted. If an ISSU procedure is aborted due to errors, the secondary VMs are cleared by default. This keyword preserves the state of the secondary VM. |
package-name |
Enter package name separated by space. For example, ncs6k-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I. |
install-add-id |
Specify the ID of package to be activated. |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
sysadmin-vm:0_RP0#install activate issu load ncs6k-x-5.2.3.09I ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I
install activate issu run
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router#install activate issu run
install deactivate issu [SMU-name] | [install-add-id]
SMU-name |
Enter SMU name separated by space. |
install-add-id |
Specify the ID of package to be deactivated. |
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router# install deactivate issu ncs6k-mcast-5.2.3.09I ncs6k-mpls-5.2.3.09I
install activate issu cleanup
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router# install activate issu cleanup
install activate issu abort
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router#install activate issu abort
To delete inactive packages from the software repository, use the install remove command in EXEC or System Admin EXEC orXR EXEC mode.
EXEC Mode:install remove { device:package | inactive } [ prompt-level { default | none } ] [ asynchronous | synchronous ] [test]
install remove { package | id add-id }
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 deletes 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 16 install add operations can be specified. |
The operation is performed in asynchronous mode: The install remove command runs in the background, and the EXEC prompt is returned as soon as possible.
EXEC
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Note | Only inactive packages can be removed. |
sysadmin-vm:0_RP0#install remove ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i result Wed Sep 18 05:48:05 2013 Install operation 10 (install remove) started by user 'root' will continue asynchronously. sysadmin-vm:0_RP0# 0/RP0:Sep 18 00:48:09.050 : inst_mgr[3768]: %INFRA-INSTMGR-6-OPERATION_SUCCESS : Install operation 10 completed successfully Wed Sep 18 05:48:09 2013 Install operation 10 completed successfully.
To verify packages installed on the router, use the install verify packages command in the System Admin EXEC mode. The command checks for any anomalies present in the installed packages. This command can be run after each system upgrade, or after activation or deactivation of packages and SMUs. Additionally it also checks if a hard disk recovery partition exists on a node in the hard disk.
install verify packages [ location node-id ]
location |
Executes target process on the designated node. |
node-id |
The node-id argument is expressed in the rack/slot notation. |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.0.1 |
This command was introduced. |
The output of install verify packages command is saved in a log file. Status of the command is captured as part of the log file which can be viewed using show install log command. Any anomaly found in the installation is reported in the log.
sysadmin-vm:0_RP0#install verify packages location 0/RP1
Sun Jan 12 20:37:09.796 UTC
Sun Jan 12 20:37:10.588 UTC
result Sun Jan 12 20:37:11 2014 Install operation 2 (install verify) started by user 'root' will continue asynchronously.
sysadmin-vm:0_RP0# Node 0/RP1 replied.check show install log 2 for detailed log
sysadmin-vm:0_RP0# Sun Jan 12 20:37:46 2014 Install operation 2 completed successfully.
sysadmin-vm:0_RP0#install verify packages location 0/RP1
Fri Feb 5 01:01:51.970 UTC
result Fri Feb 5 01:01:52 2016 Install operation 124 (install verify) started by user 'root' will continue asynchronously.
sysadmin-vm:0_RP0# Node 0/RP1 replied.check 'show install log 124 detail' for detailed log
sysadmin-vm:0_RP0# Fri Feb 5 01:02:15 2016 Install operation 124 completed successfully.
sysadmin-vm:0_RP0# show install log 124
Fri Feb 5 01:02:43.400 UTC
log 124
Feb 05 01:01:51 Admin install operation 124 started by user 'root'
Feb 05 01:01:51 install verify packages location 0/RP0
Feb 05 01:02:15 Disaster Recovery Partition found
./system_image.iso 833443840
MD5: a1954e06e972d516505e24d31b0236a8 ./system_image.iso
./EFI/Recovery/grub.cfg 516
MD5: 525ce5b5b65701c3942afefd3d4a3249 ./EFI/Recovery/grub.cfg
./EFI/Recovery/grub.efi 887836
MD5: 4abf58ec0fd23255d42e1548aeae2e3e ./EFI/Recovery/grub.efi
Feb 05 01:02:15 Node 0/RP0 completed verification successfully
Feb 05 01:02:15 Install operation 124 completed successfully.
Feb 05 01:02:15 Ending 'install verify' operation 124.
sysadmin-vm:0_RP0#show install log 17
Thu Jan 2 13:17:52.973 UTC
Jan 02 13:17:00 Install operation 17 started by root:
install verify packages
Jan 02 13:17:02 Action 1: install verify action started
Jan 02 13:17:02 Install operation will continue in the background
Jan 02 13:17:30 Anomaly Detected on 0/1/CPU0 --> needs repair
Jan 02 13:17:30 Node 0/1/CPU0
SOFTWARE PROFILE VERIFICATION START
No inconsistencies found
SOFTWARE PROFILE VERIFICATION END
PACKAGE VERIFICATION START
RPM detected 'missing /opt/cisco/XR/packages/iosxr-infra-5.0.1.14I.CSCxr11111.lc-1.0.0/lib/librmf_plfm.so'
iosxr-infra-5.0.1.14I.CSCxr11111.lc-1.0.0 : ANOMALIES found
PACKAGE VERIFICATION END
RPMDB VERIFICATION START
No inconsistencies found
RPMDB VERIFICATION END
SYMLINK VERIFICATION START
No inconsistencies found
SYMLINK VERIFICATION END
LOADPATH VERIFICATION START
No inconsistencies found
LOADPATH VERIFICATION END
Jan 02 13:17:30 0/1/CPU0 completed verification successfully
Jan 02 13:17:30 Install operation 17 finished successfully
Jan 02 13:17:32 Ending operation 17
If any installation has an issue, uninstall and then reinstall the corresponding package afresh. If this does not resolve the issue, contact Cisco TAC with the output of the show tech-support install command.
To display active packages, use the show install active command in System Admin EXEC or XR EXEC mode.
show install active
This command has no keywords or arguments.
None
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Use the show install active command to display the active software set for all nodes.
The show install active command doesnot display superceded SMUs. To get details of the superceded SMUs, use the show install superceded command.
The following example illustrates sample output from the show install active command :
sysadmin-vm:0_RP0# show install active
Node 0/RP0 [RP]
Boot Partition: calvados_lv0
Active Packages: 2
ncs6k-sysadmin-5.0.0.40I version=5.0.0.40I [Boot image]
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Node 0/RP1 [RP]
Boot Partition: calvados_lv0
Active Packages: 2
ncs6k-sysadmin-5.0.0.40I version=5.0.0.40I [Boot image]
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Node 0/3 [LC]
Boot Partition: calvados_lv0
Active Packages: 2
ncs6k-sysadmin-5.0.0.40I version=5.0.0.40I [Boot image]
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Boot Partition |
Location where the node stores the active software. |
Boot Image |
Location on the DSC of the active minimum boot image (MBI) used to boot the node. |
Active Packages |
Active packages loaded on the node. |
To display the inactive packages , use the show install inactive command in System Admin EXEC or XR EXEC mode.
show install inactive
This command has no keywords or arguments.
None
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Use the show install inactive command to display the inactive packages .
Note | Use the show install active command to determine the device used as the boot device. |
The following example shows sample output from the show install inactive command:
sysadmin-vm:0_RP0# show install inactive
Node 0/RP0 [RP]
Inactive Packages:
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Node 0/RP1 [RP]
Inactive Packages:
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Node 0/3 [LC]
Inactive Packages:
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Field | Description |
---|---|
Inactive Packages | Inactive packages present on the load. |
To display the details of installation requests, use the show install log command in System Admin EXEC or XR EXEC mode.
show install log [ install-id ]
install-id |
(Optional) Identifier assigned to an installation operation. |
None
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Enter the show install log command with no arguments to display a summary of all installation operations, including the changes to files and the processes impacted by each request. Specify the install-id argument to display details for a specific operation.
The install-id argument is listed beside each operation in the show install log summary and is attached to messages from that operation. For example, the third installation operation has “Install 3:” attached to all its status messages.
sysadmin-vm:0_RP0# show install log
Sep 17 07:33:12 Admin install operation 1 started by user 'root'
Sep 17 07:33:12 install add source tftp://223.255.254.254/auto/tftp-infra/wmori/ng-install/images/40I/sysadmin-smu/ ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i.smu
Sep 17 07:33:38 Sending abort command to all nodes
Sep 17 07:33:38 Sending remove command to all nodes
Sep 17 07:33:41 Install operation 1 failed (Unable to connect to 223.255.254.254 server on node 0/RP1 where install service is running).
Sep 17 07:33:41 Ending 'install add' operation 1
Sep 17 07:39:59 Admin install operation 2 started by user 'root'
Sep 17 07:39:59 install add source tftp://223.255.254.254/auto/tftp-infra/wmori/ng-install/images/40I/sysadmin-smu/ ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i.smu
Sep 17 07:40:25 Sending abort command to all nodes
Sep 17 07:40:25 Sending remove command to all nodes
Sep 17 07:40:26 Install operation 2 failed (Unable to connect to 223.255.254.254 server on node 0/RP1 where install service is running).
Sep 17 07:40:26 Ending 'install add' operation 2
Sep 18 05:06:23 Admin install operation 3 started by user 'root'
Sep 18 05:06:23 install add source tftp://223.255.254.254/auto/tftp-infra/wmori/ng-install/images/40I/sysadmin-smu/ ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i.smu
Sep 18 05:06:30 Packages added:
Sep 18 05:06:30 ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Sep 18 05:06:30 Install operation 3 completed successfully.
Sep 18 05:06:30 Ending 'install add' operation 3
Sep 18 05:18:44 Admin install operation 4 started by user 'root'
Sep 18 05:18:44 install prepare ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Sep 18 05:18:45 Sending prepare command to all nodes
Sep 18 05:18:46 Install operation 4 completed successfully.
Sep 18 05:18:46 Ending 'install prepare' operation 4
sysadmin-vm:0_RP0# show install log 4
Sep 18 05:18:44 Admin install operation 4 started by user 'root'
Sep 18 05:18:44 install prepare ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Sep 18 05:18:45 Sending prepare command to all nodes
Sep 18 05:18:46 Install operation 4 completed successfully.
Sep 18 05:18:46 Ending 'install prepare' operation 4
To display information about a package, use the show install package command in System Admin EXEC or XR EXEC mode.
show install package package-name [ detail | verbose ]
package |
Enter the package name. |
detail |
(Optional) Displays detailed information including impact to processes and nodes, vendor information, card support, and component information. |
verbose |
(Optional) Displays the information included in the keyword, plus information about dynamic link libraries (DLLs). |
None
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Use the show install package command with the detail keyword to display the version of the package, name of the manufacturer, name of the package, date and time when the package was built, and source directory where the package was built.
Use the show install package command with the verbose keyword to display the same information as the detail keyword, plus additional information about DLLs.
For additional information about the status of installed software packages, use the show install active and show install inactive commands.
The following sample output from the show install package command lists all packages that are available on the router:
sysadmin-vm:0_RP0# show install package
package ncs6k-sysadmin-5.0.0.40I
Filename : ncs6k-sysadmin
Version : 5.0.0.40I
ISO Type : calvados
RPM count : 23
ISO Contents :
ncs6k-sysadmin-boot.all
ncs6k-sysadmin-boot.lc
ncs6k-sysadmin-boot.rp
ncs6k-sysadmin-boot.sc
ncs6k-sysadmin-fabric.all
ncs6k-sysadmin-fabric.rp
ncs6k-sysadmin-hostos.all
ncs6k-sysadmin-hostos.rp
ncs6k-sysadmin-mgbl.all
ncs6k-sysadmin-mgbl.lc
ncs6k-sysadmin-mgbl.rp
ncs6k-sysadmin-mgbl.sc
ncs6k-sysadmin-platform.all
ncs6k-sysadmin-platform.lc
ncs6k-sysadmin-platform.rp
ncs6k-sysadmin-platform.sc
ncs6k-sysadmin-shared.all
ncs6k-sysadmin-shared.lc
ncs6k-sysadmin-shared.rp
ncs6k-sysadmin-system.all
ncs6k-sysadmin-system.lc
ncs6k-sysadmin-system.rp
ncs6k-sysadmin-topo.all
To display the ISO image, packages and SMUs that are in the prepared state and are ready for activation, use the show install prepare command in the System Admin EXEC or XR EXEC mode.
show install prepare
This command has no keywords or arguments.
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
sysadmin-vm:0_RP0#show install prepare
Wed Sep 18 05:20:58.309 UTC
Prepared Boot Image: NONE
Prepared Boot Partition: NONE
Restart Type: Process restart
Prepared Packages: 1
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
Use the "install activate" command to activate the prepared packages.
Use the "install prepare clean" command to undo the install prepare operation.
To display the packages in the repository, use the show install repository command in the System Admin EXEC or XR EXEC mode.
show install repository [all]
all |
Displays the ISO images, SMUs, and software packages present in the software repository of all VMs. |
None
System Admin EXEC
XR EXEC
Release | Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
sysadmin-vm:0_RP0#show install repository all
Thu Aug 22 13:48:37.520 UTC
Admin repository
-------------------
ncs6k-sysadmin-5.0.0.40I
ncs6k-sysadmin-5.0.0.40I.CSCui05185-0.0.7.i
XR repository
-------------
ncs6k-5.0.0.40I.CSCuj17596-0.0.3.i
ncs6k-k9sec-5.0.0.40I
ncs6k-xr-5.0.0.40I
Host repository
---------------
host-5.0.0.40I
To display the list of incomplete installation requests, running and queued, use the show install request command in System Admin EXEC or XR EXEC mode.
show install request
This command has no keywords or arguments.
None
System Admin EXEC
XR EXEC
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
The software processes only one installation request at a time. The show install request command displays any incomplete request that is currently running.
Note | The default of installation commands is asynchronous mode, meaning that the command runs in the background and the EXEC prompt is returned as soon as possible. |
The following example shows sample output from the show install request command:
sysadmin-vm:0_RP0# show install request
Wed Sep 18 05:35:49.102 UTC
User root, Op Id 8
install activate
ncs6k-sysadmin-5.0.0.40I.CSCui84128-0.0.9.i
The following example shows sample output from the show install request command when no installation operations are running:
sysadmin-vm:0_RP0# show install request
No install operation in progress
show issu summary
This command has no keywords or arguments.
None
XR EXEC
Release | Modification |
---|---|
Release 5.2.3 |
This command was introduced. |
RP/0/RP0/CPU0:router# show issu summary
Mon Jan 23 11:11:02.912 UTC
Last ISSU operation completed successfully.
List of ISSU phases:
------------------------------------------------------------
Phase name : Prep Phase
Status : Completed
Start time : Mon Jan 23 10:20:59 2012
Complete time : Mon Jan 23 10:24:19 2012
------------------------------------------------------------
Phase name : Load Phase
Status : Completed
Start time : Mon Jan 23 10:24:23 2012
Complete time : Mon Jan 23 10:33:46 2012
------------------------------------------------------------
Phase name : Run Phase
Status : Completed
Start time : Mon Jan 23 10:34:26 2012
Complete time : Mon Jan 23 10:34:26 2012
------------------------------------------------------------
Phase name : Cleanup Phase
Status : Completed
Start time : Mon Jan 23 10:35:36 2012
Complete time : Mon Jan 23 10:35:36 2012
============================================================