?
Solved

Router Will Not Save config

Posted on 2010-03-22
2
Medium Priority
?
385 Views
Last Modified: 2012-05-09
I installed a bad system flash on a cisco 871w. After I found that it was bad, I installed the old 4mb flash. Now if I copy run start or wri mem, upon a reload or power on/off, the router goes back to initial config...
0
Comment
Question by:dcawood
2 Comments
 

Accepted Solution

by:
dcawood earned 0 total points
ID: 28290322
nevermind,,, I was too busy figuring out why this new system flash wouldnt work to realize the config reg changed. I am god to go now! Well except I have a 32mb system flash that isnt being recognized!
0
 

Expert Comment

by:techmastermail
ID: 28291759
After the router is turned on it will load up in ROMMON recovery mode due to it lacking an IOS image on the new flash. Enter the following commands to check that the flash is working correctly:

rommon 1 > dev
Devices in device table:
id name
flash: flash
rommon 2 > meminfo
Main memory size: 32 MB.
Available main memory starts at 0x10000, size 32704KB
IO (packet) memory size: 15 percent of main memory.
NVRAM size: 32KBTo install the IOS you will need to setup a TFTP (Trivial File Transfer Protocol) server and connect it to the same network as the router, either directly with a crossover cable or via a switch. Free TFTP servers are available to download from SolarWinds or Cisco. Place the IOS image file (e.g c2600-i-mz.122-12.bin) in the correct directory on the PC running the TFTP server and enter the following commands into the router:

rommon 3 > IP_ADDRESS=192.168.0.100        (The Address of the TFTP Router)
rommon 4 > IP_SUBNET_MASK=255.255.255.0    (The Subnet of the Router)
rommon 5 > DEFAULT_GATEWAY=192.168.0.100   (The Default Gateway - not needed)
rommon 6 > TFTP_SERVER=192.168.0.6         (The Address of the TFTP Server)
rommon 7 > TFTP_FILE=c2600-i-mz.122-12.bin (The IOS image file name)

rommon 8 > tftpdnld                        (Download IOS through TFTP)

IP_ADDRESS: 192.168.0.100
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.0.100
TFTP_SERVER: 192.168.0.6
TFTP_FILE: c2600-i-mz.122-12.bin

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y
.
Receiving c2600-i-mz.122-12.bin from 192.168.0.6 !!!!!!!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ash at 0x60fc0000
program flash location 0x60520000

rommon 9 > dir flash:                (Confirm IOS image file is now in flash)
File size Checksum File name
5424680 bytes (0x52c628) 0x4158 c2600-i-mz.122-12.bin
rommon 10 > reset                    (Reset Router)
Step 5 - Check all is OKOnce rebooted successfully, using telnet or console enter the "show version" command to show router version information and status.
.....Hope this helps.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

601 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