Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Cisco 857W and I need to upgrade IOS. But if I do that, I will not be able to log into it using Telnet; I would need a console cable which I don't have now.

How can I upgrade Cisco IOS without losing my configurations?

share|improve this question

Upgrading IOS does not result in configuration loss. Uploading a new version of IOS to a router does not even necessarily mean that it will even be the version loaded next reboot.

The first step is to copy the new firmware to the device.

copy tftp:10.1.1.1:/c857-k9o3y6-mz.124-12.T2.bin flash:

Assuming it has enough room to hold two IOS versions concurrenty, then you can modify the configuration to boot either one. In the config, you should have something like this:

boot-start-marker
boot system flash c857-k9o3y6-mz.123-11.T5.bin
boot-end-marker

If you were installing 124-12-t2 for example, you could have it try to boot this first, then fall back to the current version if it fails for any reason:

boot-start-marker
boot system flash c857-k9o3y6-mz.124-12.T2.bin
boot system flash c857-k9o3y6-mz.123-11.T5.bin
boot-end-marker

The startup-config is stored separately to the boot image, so does not get wiped.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .