IOS-XE Upgradation Procedure on ASR1000 running redundant RP's

Today I am going to talk about the IOS-XE upgradation procedure on ASR 1000 with the redundant RP's. Before we start with the IOS upgradation procedure, we should know below things:
  • Applicable for ASR's with two RP's
  • The image you are going to upgrade should be of the same technology package.
  • SSO terminal state can be reached even with two difference versions belonging to same technology package

Fig 1.1- Cisco ASR 1001 Router

Lets talk about the steps one by one

1)copy the image you want to upgrade to the active RP's bootflash:

RouteXP-ASR1K-5#copy tftp bootflash:
Address or name of remote host [10.76.76.160]?
Source filename [asr1000rp2-advipservicesk9.03.04.00.S.151-3.S]? asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin
Destination filename [asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin]?
Accessing tftp://10.76.76.160/asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin...
Loading asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin from 10.76.76.160 (via GigabitEthernet2/1/1): !!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
456491752 bytes copied in 340.677 secs (1339955 bytes/sec)
RouteXP-ASR1K-5#


2)Copy the image to standby RP's Bootflash so that both the RP's have the image locally.
RouteXP-ASR1K-5#$copy bootflash:asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin st?
startup-config  stby-bootflash:  stby-harddisk:  stby-nvram:
stby-obfl:      stby-rcsf:       stby-usb0:      stby-usb1:
RouteXP-ASR1K-5#$0rp2-advipservicesk9.03.06.00.S.152-2.S.bin stby-bRouteXP-ASR1K-5#$copy bootflash:asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin stby-bootflash:
Destination filename [asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.bin]?
Copy in progress...CCCCCCCCCCCCC
456491752 bytes copied in 107.590 secs (4242883 bytes/sec)
RouteXP-ASR1K-5#


3)Change the boot variable and do 'wr mem' so that the configuration is sync'd betwwen r0 and r1.Do remember that the IOS pointed by the first boot statement takes precendence.
RouteXP-ASR1K-5#no boot system bootflash<old_image.bin>RouteXP-ASR1K-5#no boot system bootflash:asr1000rp2-advipservicesk9.03.06.00.S.152-2.S.binRouteXP-ASR1K-5#wr mem
Jul 16 19:42:36.476: %SYS-5-CONFIG_I: Configured from console by console mem
Building configuration...
[OK]
RouteXP-ASR1K-5#




4)Reload the standby supervisor module so that it comes up with the new image
RouteXP-ASR1K-5#hw-module slot r0 reload
Proceed with reload of module? [confirm]
RouteXP-ASR1K-5#

*Jul 16 19:47:38.279: %ASR1000_OIR-6-OFFLINECARD: Card (rp) offline in slot R0
*Jul 16 19:47:38.315: %REDUNDANCY-3-STANDBY_LOST: Standby processor fault (PEER_NOT_PRESENT)
*Jul 16 19:47:38.315: %REDUNDANCY-3-STANDBY_LOST: Standby processor fault (PEER_DOWN)
*Jul 16 19:47:38.315: %REDUNDANCY-3-STANDBY_LOST: Standby processor fault (PEER_REDUNDANCY_STATE_CHANGE)



5)Do a redundanct force switchover-
RouteXP-ASR1K-5#redundancy force-switchover

System configuration has been modified. Save? [yes/no]: y
Building configuration...
[OK]Proceed with switchover to standby RP? [confirm]
    Manual Swact = enabled

*Jul 16 20:34:57.003: %RF-5-RF_RELOAD: Self reload. Reason: redundancy force-switchover
*Jul 16 20:34:57.370: %SYS-5-SWITCHOVER: Switchover requested by red_switchover_Jul 16 20:35:08.163 R1/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload fru code


The Stanby RP now becomes the active running the latest image.
The Active supervisor reloads automatically  and initialize as the standby with the upgraded code.