10-26-2008 07:01 AM - edited 03-04-2019 12:04 AM
Hey Guys,
I have to do an IOS upgrade on one of my 7206 VXR routers tonight and I've already downloaded the IOS
My question is this. Once I've uploaded it to the router what are the commands so that the router will boot off the new IOS and if something goes wrong, the router will go back to the old IOS?
Is it simply putting in two boot statements like this:
router(config)#boot system disk2:"NewIOSIMAGE.bin"
router(config)#boot system disk2:OLDIOSIMAGE.bin
Or am I missing something here?
Thanks in advance.
10-26-2008 10:49 AM
As long you have enough space in disk2 to fit two ios images you should be fine with your example boot statements, make sure you do indeed have enough space by issuing show disk2 and note available space to compare with new image file size.
boot system disk2:NewIOSIMAGE.bin
boot system disk2:OLDIOSIMAGE.bin
it is correct with the above statement that newIOSIAGE.bin will be loaded, if for any reason say image is corrupted second boot statement will take precedance. If new image is loaded and you need to go back to old image for whatever reason you need to change your boot statement to load OLDIOSIMAGE first with a router reload.
HTH
Jorge
10-26-2008 06:42 PM
hmmm looks like there isn't enough space.
This means I'll have to delete the current IOS image and load the new one and hope it works.
Any advice here?
10-26-2008 07:52 PM
it's fairly easy to recover from a bad IOS update using ROMMON, so I wouldn't worry too much :)
Just make sure you make a backup copy of the IOS currently on the router,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: