The three-step installation process provides a controlled method for upgrading router software by allowing verification at
each stage before proceeding to the next step. Use this installation method when you need to upgrade router software with
the ability to verify and roll back at each stage if needed.
Follow these steps to complete the three-step software installation.
|
Step 1
|
Use the install add file filesystem:filename command to add the software image to the router.
Router# install add file flash:ir1101-universalk9.17.09.01.SPA.bin
|
|
Step 2
|
(Optional) Use the show install summary command to verify that the image is added and in the Inactive (I) state.
Router# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG I 17.09.01.0.1
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------
|
|
Step 3
|
Use the install activate command to activate the software image. When prompted, enter y to proceed with the reload.
|
|
Step 4
|
(Optional) After the system reloads, use the show install summary command to verify that the image is in the Activated & Uncommitted (U) state.
Router# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG U 17.09.01.0.1
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------
|
|
Step 5
|
Use the install commit command to commit the software installation.
|
|
Step 6
|
(Optional) Use the show install summary command to verify that the image is in the Activated & Committed (C) state.
Router# show install summary
[ R0 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 17.09.01.0.1
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------
|
The software image is successfully installed and committed. The install summary shows the image state as "C" (Activated &
Committed), confirming that the installation is complete and permanent.
Example
The following is an example of the three-step installation.
This example shows adding the image for various platforms:
install add file flash:ir1101-universalk9.17.09.01.SPA.bin
install add file flash:ir1800-universalk9.17.09.01.SPA.bin
install add file flash:ir8140-universalk9.17.09.01.SPA.bin
install add file flash:ir8340-universalk9.17.09.01.SPA.bin
install add file flash:c6300-universalk9.17.09.01.SPA.bin
This example shows the output of the add operation:
install_add: START Tue May 31 01:35:40 UTC 2022
install_add: Adding IMG
--- Starting initial file syncing ---
Copying flash:ir1101ir1800ir8140ir8340c6300-universalk9.17.09.01.SPA.bin from R0 to R0
Info: Finished copying to the selected
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
[1] Finished Add package(s) on R0
Checking status of Add on [R0]
Add: Passed on [R0]
Finished Add
Image added. Version: 17.09.01.0.1
SUCCESS: install_add /flash1/ir1101ir1800ir8140ir8340c6300-universalk9.17.09.01.SPA.bin Tue May 31 01:37:10 UTC 2022
Router#
This example shows the output of the activate operation:
install_activate: START Tue May 31 01:37:14 UTC 2022
install_activate: Activating IMG
Following packages shall be activated:
/flash/ir1101ir1800ir8140ir8340c6300-mono-universalk9_iot.17.09.01.SPA.pkg
/flash/ir1101ir1800ir8140ir8340c6300-rpboot.17.09.01.SPA.pkg
This operation may require a reload of the system. Do you want to proceed? [y/n]y
--- Starting Activate ---
Performing Activate on all members
[1] Activate package(s) on R0
[1] Finished Activate on R0
Checking status of Activate on [R0]
Activate: Passed on [R0]
Finished Activate
SUCCESS: install_activate Tue May 31 01:41:03 UTC 2022
Router#
May 31 01:41:08.684: %PMAN-5-EXITACTION: R0/0: pvp: Process manager is exiting: reload action requested
watchdog: watchdog0: watchdog did not stop!
reboot: Restarting system
System Bootstrap, Version 3.3(REL), RELEASE SOFTWARE
Copyright (c) 1994-2021 by cisco Systems, Inc.
IR1101IR1800IR8140IR8340C6300-K9 platform with 4169728 Kbytes of main memory
MCU Version - Bootloader: 4, App: 6
MCU is in application mode.
........
Loading: bootflash:packages.conf
#
#########################################################################
#########################################################################
#######################
Press RETURN to get started!
This example shows the output of the commit operation:
install_commit: START Tue May 31 01:47:56 UTC 2022
--- Starting Commit ---
Performing Commit on all members
[1] Commit packages(s) on R0
[1] Finished Commit packages(s) on R0
Checking status of Commit on [R0]
Commit: Passed on [R0]
Finished Commit operation
SUCCESS: install_commit Tue May 31 01:48:04 UTC 2022