• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 704
  • Last Modified:

Cisco IOS upgrades

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
codevu
Asked:
codevu
  • 6
  • 4
1 Solution
 
SouljaCommented:
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
 
SouljaCommented:
I meant, it won't remove the previous IOS unless it completely succeeds.
0
 
codevuAuthor Commented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
SouljaCommented:
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
 
SouljaCommented:
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
 
codevuAuthor Commented:
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
 
SouljaCommented:
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
 
codevuAuthor Commented:
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
 
SouljaCommented:
This command I posted will upgrade your switch.
0
 
codevuAuthor Commented:
Excellent feedback with supporting info and advice when requested
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now