I have a 2811 that crashes when trying to load the IOS in memory. I can see it decompressing the image but its not able to load it. I have a new chassis that I want to use but I need to get the config out of the bad chassis. How can I do this? Can I use the rommon? If not do I have other options? Can I physically move the NVRAM chip from bad to good chassis?
Your best bet is to go into rommon, initialize flash (if it isn't already) and see if you can copy the startup-config to flash. Let us know how it goes.
If I remember correctly you can view the config in rommon using these commands.
Should display the config in rommon.
*Edit* It could also be
Sorry "flash_init" is not available neither is "more". Right now I am going to try to load a small IOS in zDRAM and hope I can get the router to boot from that. "Regular" IOS is a CCME voice version.
Wish me luck
dir only works like this "dir flash:" which is nice but I would need to see the nvram not the flash. Still trying to boot an IP base OS from DRAM to see if I can they get access to nvram.
That's sounds good, I keep getting permission denied on nvram:startup-config. I'll see if I can get it working for future reference.
Looks like I am SOL. The router will not boot any IOS from any device flash or DRAM. At one point I saw a file called AUTOSAVE on the flash but it dissapeard before I had a chance to display it. Could that have been the config I was lookig for? Where did it go?
Anyway, I find it hard to believe that there is no other way to access the NVRAM other than via the IOS but for now I must give up and rebuild the router config from scratch.
Find another router that takes the CF card. Rommon on the proper IOS, then pull out the config. Not quick, but it should get the job done.
Sorry but if it was that simple I would have my config already. The config is not on the CF card. It is in the NVRAM which is built into the motherboard. I have not found any technique that will copy data out of the NVRAM on the motherboard without booting an IOS and my router will not boot any IOS at this time.
Most IOS boot failures are due to bad/insufficient ram, image corruption, or sometime, configuration issues.
Have yo ruled out all three in trying to boot your router ?
We removed all modules from the router and replaced the flash and DRAM with no luck. The router had been running without any changes for almost 2 years so I am pretty sure it wasn't a config issue. We loaded alterate IOSes in DRAM via tftp and xmodem. Nothing worked. I don't have a problem with a 3 year old router going down. I know stuff can't last forever. I can also point the finger at the previous admin for not leaving a backup config around. What's amazing is the need to load an IOS to get to the NVRAM. The router seems to work in rommon with no problem. Maybe if there was a stripped down, recovery only IOS? I tried with a 12.3 IP base which seems like the smallest IOS that supports a 2811 and that didn't work either.
You have a genuine HW failure then.
Now I don't know if it's possible to upgrade rommon from rommon, perhaps a newer version would make work commands to dump nvram.
I didn't think that upgrading the rommon was possible but a quick search shows that it is. Alas, you need to do it from IOS so that won't work for me. However, while looking thru the results I did find this link:
I think this might work because if I remember correctly I see the router boot the boot image before it boots the IOS in flash. If I use the confreg 0x2101 to boot to this image then maybe I can do a "show startup-config" and paste that sucker in notepad REAL quick like. I won't be able to try this until after the holiday but if someone could confirm that the boot image has "show startup-config" available as a command I would appreciate it immensely!