Router Will Not Save config

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...
dcawoodAsked:
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.

dcawoodAuthor Commented:
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

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
techmastermailCommented:
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 !!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2600-i-mz.122-12.bin to flash.
Erasing flash 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
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
Routers

From novice to tech pro — start learning today.