Upgrading Cisco 1841 and 3800 Series Rouiter, Config Settings Saved?

I'm preparing to upgrade the IOS on two types of routers: an 1841 and 3825.  The 1800's have 12.4(1a) and the 3800 has 12.4(17a) IOS installed.  I understand that I'm to use the following link to find the proper upgrade: http://tools.cisco.com/ITDIT/CFN/.  

My question is: Once I've performed the upgrade using this example, http://www.cisco.com/en/US/products/hw/routers/ps214/products_tech_note09186a0080110ed1.shtml - Will the configuration be saved on the router or does the configuration get wiped out?  How would I save the Configuration before the process?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If your config is saved to startup then yes it will be saved and still be available after you upgrade your IOS. If though you only have your config saved to running config after your router is reloaded then it will be erased.

Here is my recommended steps for saving your config.

1) issue "copy run start" or "wr mem" to save any past changes of your running config to start up.

2) backup your startup config to your tftp server with "copy start tftp" in case something unexpected happens. then follow the prompt to move the file to your tftp server.

3) update your IOS with the guide you listed.

After the new IOS is loaded and you have verified the correct version is running verify your startup config is loaded properly "show run" or whatever method you use to verify your router is running correctly. If it is not and something happened to the config then you can restore it from your tftp server with "copy tftp run" then once every thing is back to normal issue "copy run start" or "wr mem" to save your config.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Istvan KalmarHead of IT Security Division Commented:
you able to backup locallly the config:

copy start flash:
I agree ikalmar that you can backup locally but when working with an update/upgrade i never trust the device to keep the config or settings even in flash. I always backup to another device incase the router goes up in flames during the upgrade/update :)
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

MMDCiscoAuthor Commented:
Ok, based on what we know so far, these are the steps (followed by a question):

Step 1:
      Set up TFTP server on local network (tftp)
      Access Router (RouterA) via Terminal
      RouterA# show running
      (Configurat Shown Here)
      RouterA#copy run start
      RouterA#copy start tftp
Step 2:
      Download Update from Cisco to Local Computer
      Connect Local Computer to RouterA Console Port
      RouterA#copy tftp: flash: (prompted for Source)
        (do not erase flash)
      RouterA# dir flash:
      RouterA# verify flash:Newbin
      RouterA# configure terminal
      RouterA(config)# config-register 0x2102
      RouterA(config)# ^z
      RouterA# Show run | include boot
      RouterA# configure terminal
      RouterA(config)# no boot system
      RouterA(config)# boot system flash:NewBin
      RouterA(config)# ^Z

RouterA# write memory
      RouterA# reload
      RouterA# show version
      RouterA# show running
      (RUNNING CONFIG as shown in STEP 1)

Question: When I do a Write Mem, will the Config be wiped out?  How do I ensure the running config in step 1 is the working running config?  Do the steps look correct?


"When I do a Write Mem, will the Config be wiped out?"

a 'wr mem" will replace the start up config with the current running config. which is what the router is currently operating off of. The startup is the config the router will load when rebooted. So if the router is running and setup how you want it then a wr mem will save these settings to start up so after the reboot it will operate the same.

"How do I ensure the running config in step 1 is the working running  config"

your running config is what the router is configured for at the moment. If you make a change to the router or run "show run" you are actually working with the running config. As mentioned above the start up is what your router loads at boot up.

"Do the steps look correct? "

all looks good to me. The only concern i have is with step 2. you are choosing not to delete the config in flash. So before attempting to load the new bin make sure the flash is large enough to hold the old and the new. If not then the router will crash and you will need to correct it from ROMMON. IF you do not have enough flash to hold both bin files then you will need to have the old bin removed in step to when prompted. I would recommend to backup the old bin file in this case with Copy flash:binfilename.bin tftp.

when downloading the new bin it will tell you how much flash is required to hold it.

If you are unsure of how to set up a TFTP server or have trouble doing so, issue the "show run" command and copy and paste all of the output in to a text file.

Also, are you sure both of your routers have enough flash memory to hold two IOSs?
Istvan KalmarHead of IT Security Division Commented:
An I advise to copy to flash the config, and after copy the new IOS on a PC CF card reader!
MMDCiscoAuthor Commented:
I have a TFTP on my local machine and will follow the recommendation to Erase instead of not...

Here goes!
MMDCiscoAuthor Commented:

No joy on several fronts: First, I attempted an SDM update from 2.3.1 to 2.5.  Upon installing the local machine's SDM, I attempted the router.  It failed after asking me for USERID and password.  I tried the standards but it wouldn't work.  The password is correct, it just didn't like the UserName.

Second: I went through the Cisco software and I am not convinced I have the right .BIN for the machine.  I'd like to make absolutely certain I have the right one.  

Third: See above, but I went on anyway and get the best fitting .bin and attempted the TFTP: FLASH: and it didn't actually ask me to erase the existing.  This seemed incredibly odd.  I don't have any notes to delete files / squeeze for additional space, so I put the task on hold until I consulted the experts.

Your thoughts?
Have you tried uppercase C in Cisco and lower case C? - e.g:
Username: Cisco
Password: Cisco

"Second: I went through the Cisco software and I am not convinced I have the right .BIN for the machine.  I'd like to make absolutely certain I have the right one.  "

What is the IOS file name that you downloaded?

"I went on anyway and get the best fitting .bin and attempted the TFTP: FLASH: and it didn't actually ask me to erase the existing."

Can you issue the "show flash" command and paste the output here?
MMDCiscoAuthor Commented:

Old BIN in flash: c1841-ipbase-mz.124-1c.bin
New bin: c1841-ipbase-mz.124-24.T2.bin  (Yes?)

I can't do a show flash but I can show version because I don't have router access until the wee early morning.

Router>show version
Cisco IOS Software, 1841 Software (C1841-IPBASE-M), Version 12.4(1c), RELEASE SO
FTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Tue 25-Oct-05 17:10 by evmiller

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

Router uptime is 25 weeks, 1 day, 18 hours, 6 minutes
System returned to ROM by reload at 23:49:03 UTC Sat Sep 26 2009
System image file is "flash:c1841-ipbase-mz.124-1c.bin"

Cisco 1841 (revision 7.0) with 114688K/16384K bytes of memory.
Processor board ID FTX1119W160
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity disabled.
191K bytes of NVRAM.
31360K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.