Solved

Cisco IOS upgrades

Posted on 2011-09-29
10
689 Views
Last Modified: 2012-06-27
Hi,

I've looked over this site regarding upgrading IOS.

This tells me how to work through an upgrade with some precautions?

What happens if it fails though? This is a remote site, what can I do?

Can we reload remotely if the switch upgrade fails and the device dies?
0
Comment
Question by:codevu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 26

Accepted Solution

by:
Soulja earned 250 total points
ID: 36815631
Use the archive feature. It one complete the process or remove the previous IOS unless it succeeds.

so for example on the remote switch

archive download-sw /overwrite /force-reload tftp://x.x.x.x/filename.tar
0
 
LVL 26

Expert Comment

by:Soulja
ID: 36815646
I meant, it won't remove the previous IOS unless it completely succeeds.
0
 

Author Comment

by:codevu
ID: 36815720
Soulja, that sounds interesting, I will need to check over archive.

If I don't use archive and run an upgrade remotely what happens it fails after a reboot? Am I able to restore remotely?
0
Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

 
LVL 26

Expert Comment

by:Soulja
ID: 36815812
If it fails after a reboot you will not be able to access the device remotely, unless you have some out of band method of access the switch such as reverse telnet or ssh from your router into the switch's console port.
0
 
LVL 26

Expert Comment

by:Soulja
ID: 36815822
I would do the archive method. I have upgraded plenty of devices remotely with this method, even over 128k links. Never failed for me. Not saying that it can't but seems like a solid method to me.
0
 

Author Comment

by:codevu
ID: 36815896
Yeah, I was concerned I would lose remote access if it went down on reboot.

So, to confirm, the command sample you gave me will initiate the upgrade, run it and then try to reboot. If all is well I am happy. If it fails, it detects this and restores previous? (from ftp or from flash?)

Thanks
0
 
LVL 26

Expert Comment

by:Soulja
ID: 36815956
Yes the archive will only overwrite the previous ios if it is successful.  Otherwise it will fail and bump you back to the prompt.
0
 

Author Comment

by:codevu
ID: 36816029
Sorry,

So is this archive command simply to backup up the configuration? or does it physically run an update from a config I file I state and restore on fail?

I am looking for some form of resiliance/autorecovery during an upgrade if at all possible? otherwise I could face a long drive to sites if I have to get to a prompt.
0
 
LVL 26

Expert Comment

by:Soulja
ID: 36816103
This command I posted will upgrade your switch.
0
 

Author Closing Comment

by:codevu
ID: 36817059
Excellent feedback with supporting info and advice when requested
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question