05-04-2008 10:06 PM - edited 03-03-2019 09:48 PM
I have some 2821 rtrs which will be getting an IOS upgrade from "c2800nm-spservicesk9-mz.124-3g.bin" to "c2800nm-adventerprisek9-mz.124-18.bin"
There is not enough space in flash to hold the new IOS and the current IOS.
Is it possible to delete the current IOS from flash and load the new IOS?
Solved! Go to Solution.
05-04-2008 10:55 PM
Hi,
As this is your production router and just to be on a safer side, you can also have the IOS loaded on a TFTP and have your router boot via the network TFTP. This will you will have your router up and running incase of something doesnot work while formating the flash and loading the IOS.
Router(config)# boot system tftp IOS filename tftp server ip address - boot from a TFTP server
regards,
-amit singh
05-04-2008 10:09 PM
Yes, this is routinely done when upgrading.
05-04-2008 10:21 PM
Right on that makes sense as I have done it before...but not in a good while...just wanted to measure twice and cut once!
Actually I left out something in my initial post.
In what version of IOS did upgrading in this manner become available?
In older versions of IOS was it not possible to upgrade in this way?
If there is a cutoff approx what IOS version would be too old to upgrade this way?
05-04-2008 10:44 PM
Hi, this does not depend on the IOS version and never did. Just delete old IOS and copy the new one.
Also, IOS never requires progressive upgrades.
As an appreciation to those providing answers, please rate useful posts with the scrollbox below!
05-04-2008 10:55 PM
Hi,
As this is your production router and just to be on a safer side, you can also have the IOS loaded on a TFTP and have your router boot via the network TFTP. This will you will have your router up and running incase of something doesnot work while formating the flash and loading the IOS.
Router(config)# boot system tftp IOS filename tftp server ip address - boot from a TFTP server
regards,
-amit singh
05-05-2008 03:36 AM
Mark does remember correctly that there was a time when you could not just erase the image and load a new image while the router continued to run. But it was platform based and not version of IOS based. There were some routers that ran the image from flash rather than from RAM. They primary example of this was the 2500 routers which actually had to boot into rommon to load a new image.
There have not been any routers with this restriction in quite a while. So Mark should be pretty safe in erasing the image and copying a new image. There is a bit of exposure in this process - if something happens in the interval between when the old image is erased and the copy of the new image is completed then there is a problem. The suggestion from Amit is a way to provide a bit of a safety net. It requires a bit more effort than just erase the old image, copy the new image, reboot - but it does provide a method that does not leave you exposed. Especially if the router is remote it might be worth it.
HTH
Rick
05-05-2008 08:56 AM
Thanks everyone for your comments.
I appreciate the input and helpful suggestions.
I will follow the method that Amit pointed out.
GLTA.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide