cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26287
Views
34
Helpful
23
Replies

ASR 1001-x upgrade path

netspazz
Level 1
Level 1

Looking at the process to upgrade an ASR 1001-x, currently 16.9.2. Doing some research this looks to be not the old way of uploading the bin, changing the boot var and performing a reload. I have a few questions.

1. the document shows a "subpackage" install. Is this they path that must be taken? uploading the bin then expanding all the packages? this seams to be a much more intense process then the old way.

2. currently my boot var shows nothing configured, and nothing for the standby boot var. is this normal? I do see the .bin file sitting on the bootflash.

3. I am running redundancy, sso, so I believe this is normal for an upgrade.

 

thanks for any help.

23 Replies 23

netspazz
Level 1
Level 1

I have a couple additional comments.

1. How do you tell if you need to upgrade using subpackages? when I run "sh ver installed" it shows package, so I am assuming that i must upgrade using subpackages.

2. I noticed that the web GUI has an area to upload/install software. Would this actually be the best way, it seems behind the scene it is unpacked and installed by the GUI.

Leo Laohoo
Hall of Fame
Hall of Fame

@netspazz wrote:

Doing some research this looks to be not the old way of uploading the bin, changing the boot var and performing a reload.


Welcome to IOS-XE.  
There are (currently) two ways to upgrade in IOS-XE:  Bundle Mode and Install Mode. 

What you've just describe is "Bundle Mode".  It is an "easy" way but the bootup will take longer and will chew up extra memory (unpacking the packages to memory).  

For obvious reasons, Install Mode is highly recommended.  

Next, for some demented reasons, Cisco now "hides" the documentation in about what ROMMON/Bootstrap version a router needs to be running, as a minimum, and what IOS-XE to run.  

So you will need to find that documentation to make sure the IOS-XE version you run "matches" with the ROMMON version.  Otherwise, upgrade to the ROMMON to the latest version will save you the hassle in the future.

thanks for the information. Its starting to make sense. Looking at the "install" command documentation, I see 2 types.

 

1. Super Package install—Applicable to Dual RP
2. Sub-package install—Applicable to Dual RP

 

Not sure what the difference is, or maybe depends on the hardware.

 

 

 

1.  Copy the IOS-XE file into the bootflash: 

2.  Copy the ROMMON file into the bootflash:

3.  Upgrade the ROMMON (DO NOT REBOOT)

upgrade rom-monitor filename bootflash:FILENAME all 

4.  Unpack the IOS-XE file

install add file bootflash:IOS-XE_FILENAME.bin activate commit

5.  Change the boot variable string to point to the "packages.conf" file

conf t
 no boot system flash bootflash:<OLD IOS>
 boot system flash bootflash:packages.conf
 boot system flash bootflash:<OLD IOS>
end
wr

6.  Examine the "packages.conf" (2nd page) to make sure the new packages are pointing to the new IOS version

more bootflash:packages.conf

7.  Save the config

8.  Reboot the appliance.

9.  After the reboot, clean up the bootflash:

 

install remove inactive

 

 

 

Thanks for the step by step. Would your steps be the way to go? I will look into the ROMMON, don't see it mentioned in the document.

 

I looked at the "install" method and the steps it takes. Since I have redundancy configured I thought I would use the following for dual RP.

 1. # install add file bootflash:<file.bin>

 2. # install activate location standby

 3. # redundancy force-switchover

 4. # install abort-timer stop

 5. # install activate location standby

 6. # install commit

 

cisco is really making this harder than it should be, or I am missing something.


@netspazz wrote:

I will look into the ROMMON, don't see it mentioned in the document.


The only ROMMON matrix I know of is the ones for the ISR 4000 routers (Recommended ROMMON Release).


@netspazz wrote:

Would your steps be the way to go? 


Your call.  The steps I have listed are the steps I use.  Regularly.


@netspazz wrote:

cisco is really making this harder than it should be, or I am missing something.


No, this is the new Cisco "standard".

Thanks, it makes more sense now. Do  some more research basically .bin=bundle mode, .conf=Install mode.

 

Looking at my system it has the .bin so I am using Bundle mode, which is interesting since it came from cisco and I thought Install mode was the default mode.

 

I will test out the install mode on a spare router. My only question is since it takes a reload then the redundancy of the RP does not matter then?

 

thanks again.

The RP will reboot because the parent appliance will reboot.


@netspazz wrote:

Looking at my system it has the .bin so I am using Bundle mode, which is interesting since it came from cisco and I thought Install mode was the default mode.


Do what Cisco says and not do what Cisco does.  

Any routers or switches coming from Cisco will always be in Bundle Mode because transferring the BIN file into the appliance is faster from the factory floor.  

Hello Leo,

 

Thanks for describing the step by step process. 

I have some additional queries regarding the ASR1001-X upgrade process. It would be very nice of you to comment on my below queries:

 

1. I could not find any document which mentions the upgrade path. Our routers are currently working on version 16.9.2 and we are planning to upgrade to 16.12.5. Can this be done in one single step or i need to perform an intermediate OS upgrade?

 

2. If i understand it correctly, the method you described here is Bundle mode upgrade, as i do not see any "install" commands? You mentioned with this method the device will take relatively longer time to boot up, please can you advise on how much downtime time should be expected if we use this method.

 

3. I have two routers which are in simplex mode(non-redundant) but running HSRP primary/secondary. Please can you advise it the method you described would be the best upgrade method to follow in this setup.


@Simba_NetEngg wrote:

Our routers are currently working on version 16.9.2 and we are planning to upgrade to 16.12.5. Can this be done in one single step or i need to perform an intermediate OS upgrade?


Upgrade from 16.9.X to 16.12.X is possible.  Make sure the ROMMON is 16.12(2r).  If it is not, upgrade the ROMMON and the IOS-XE. 

Out of curiosity, are the routers configured with LACP?


@Simba_NetEngg wrote:

the method you described here is Bundle mode upgrade


The method I've described (above) as Install Mode and takes up to seven (7) minutes for the router to boot up.

NOTE:  If it is possible, do a COLD boot (turn the router OFF for about 5 seconds before powering it back up).


@Simba_NetEngg wrote:

I have two routers which are in simplex mode(non-redundant) but running HSRP primary/secondary. Please can you advise it the method you described would be the best upgrade method to follow in this setup.


No different.  Just reboot/cold boot one router before doing the next one. 

Hello Leo,

 

Thanks for your valuable response.

 

1. The current ROMMON version in our routers is 16.9(4r).
I was not planning to upgrade the ROMMON originally as i found below Cisco document which says that the minimum and recommended ROMMOM version for OS Version 16.12.X is 16.9(4r). Please can you share if there is any specific reason due to which i should upgrade ROMMON to 16.12(2r)?

 

https://www.cisco.com/c/en/us/td/docs/routers/asr1000/rommon/asr1000-rommon-upg-guide.html?referring_site=RE?pos=1&page=https://www.cisco.com/c/en/us/td/docs/routers/asr1000/release/notes/xe-16-12/asr1000-rel-notes-xe-16-12.html


2. Yes we are running LACP.


3. If this is the install method, should i be using any install commands like below too or only the ones described in your message are sufficient.

 

install add file bootflash:asr1001x-universalk9.16.12.05.SPA.bin
install activate file bootflash:asr1001x-universalk9.16.12.05.SPA.bin


4. Also one additional question, in your original thread, you mentioned in step 5 regarding boot variable that the boot order should have packages.conf as the primary OS and <OLD IOS> as secondary. In my case, old IOS is asr1001x-universalk9.16.09.02.SPA.bin, so will my command be "boot system flash bootflash:asr1001x-universalk9.16.09.02.SPA.bin" or do i need to expand the old IOS into packages and add the packages.conf file of the OLD IOS in boot variable, same as the new IOS.


5. I will be upgrading this remotely, so cold reboot will be difficult. Though i will try to arrange someone onsite if you are suggesting it.


Sorry for so many questions, i am very new to upgrading IOS XE.


Thanks in advance.

Hello Leo,

 

Thanks for your valuable response.

 

1. The current ROMMON version in our routers is 16.9(4r).
I was not planning to upgrade the ROMMON originally as i found below Cisco document which says that the minimum and recommended ROMMOM version for OS Version 16.12.X is 16.9(4r). Please can you share if there is any specific reason due to which i should upgrade ROMMON to 16.12(2r)?

 

https://www.cisco.com/c/en/us/td/docs/routers/asr1000/rommon/asr1000-rommon-upg-guide.html?referring_site=RE?pos=1&page=https://www.cisco.com/c/en/us/td/docs/routers/asr1000/release/notes/xe-16-12/asr1000-rel-notes-xe-16-12.html


2. Yes we are running LACP.


3. If this is the install method, should i be using any install commands like below too or only the ones described in your message are sufficient.

 

install add file bootflash:asr1001x-universalk9.16.12.05.SPA.bin
install activate file bootflash:asr1001x-universalk9.16.12.05.SPA.bin


4. Also one additional question, in your original thread, you mentioned in step 5 regarding boot variable that the boot order should have packages.conf as the primary OS and <OLD IOS> as secondary. In my case, old IOS is asr1001x-universalk9.16.09.02.SPA.bin, so will my command be "boot system flash bootflash:asr1001x-universalk9.16.09.02.SPA.bin" or do i need to expand the old IOS into packages and add the packages.conf file of the OLD IOS in boot variable, same as the new IOS.


5. I will be upgrading this remotely, so cold reboot will be difficult. Though i will try to arrange someone onsite if you are suggesting it.


Sorry for so many questions, i am very new to upgrading IOS XE.


Thanks in advance.

 


@Simba_NetEngg wrote:

2. Yes we are running LACP.


So far, CSCvw74609 has only been reported to affect ISR 4k so be careful. 


@Simba_NetEngg wrote:

Please can you share if there is any specific reason due to which i should upgrade ROMMON to 16.12(2r)?


The router is going to get upgraded to a new IOS-XE version.  Upgrade the ROMMON while you can.  In the future, someone will/might "forget" this tiny tidbit (ROMMON version to IOS-XE version) and spend countless hours wondering why the router refuses to load the new firmware.  Remember, when the router refuses to load the new firmware (because the ROMMON version is not "compatible), it means the router has booted into ROMMON.  And the drive to the site to the site (to fix this oversight) is usually lonely and sad -- Which means no one can hear you scream.

IMPORTANT
Make ROMMON upgrade a "habit" especially with IOS-XE upgrade.  Why?  Because Cisco has a funny way of hiding the ROMMON version matrix.  In some platforms, the ROMMON version matrix is in the Release Notes of the IOS-XE, however, in some platforms, it is hidden or un-linked.  

  


@Simba_NetEngg wrote:

install add file bootflash:asr1001x-universalk9.16.12.05.SPA.bin
install activate file bootflash:asr1001x-universalk9.16.12.05.SPA.bin


Cut it down to one line:  

install add file bootflash:asr1001x-universalk9.16.12.05.SPA.bin activate commit

@Simba_NetEngg wrote:

Also one additional question, in your original thread, you mentioned in step 5 regarding boot variable that the boot order should have packages.conf as the primary OS and <OLD IOS> as secondary. In my case, old IOS is asr1001x-universalk9.16.09.02.SPA.bin, so will my command be "boot system flash bootflash:asr1001x-universalk9.16.09.02.SPA.bin" or do i need to expand the old IOS into packages and add the packages.conf file of the OLD IOS in boot variable, same as the new IOS.


Good point. 

No need to "expand" 16.9.2.  

So do this: 

conf t
 no boot system flash bootflash:asr1001x-universalk9.16.09.02.SPA.bin
boot system flash bootflash:packages.conf
boot system flash bootflash:asr1001x-universalk9.16.09.02.SPA.bin end wr 

Hope this helps.

TIP:  

To anyone who is about to embark on IOS-XE & ROMMON upgrade for the first time, connect the console port and enable logging.  This will make troubleshooting easier.

Review Cisco Networking for a $25 gift card