getting config out of non-booting 2811

Unanswered Question
Jun 30th, 2008
User Badges:

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?


Thanks,

Diego

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Collin Clark Mon, 06/30/2008 - 07:40
User Badges:
  • Purple, 4500 points or more

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.


Mark Yeates Mon, 06/30/2008 - 08:19
User Badges:
  • Gold, 750 points or more

If I remember correctly you can view the config in rommon using these commands.



flash_init

more nvram:startup-config


Should display the config in rommon.


Mark



*Edit* It could also be

more nvram:/startup-config




Collin Clark Mon, 06/30/2008 - 11:01
User Badges:
  • Purple, 4500 points or more

Please post if more works, it's not available in the devices I tested with.

DIEGO ALONSO Mon, 06/30/2008 - 11:44
User Badges:

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


Diego

Collin Clark Mon, 06/30/2008 - 11:48
User Badges:
  • Purple, 4500 points or more

Try a dir /all or just dir and see if you see the flash card.

DIEGO ALONSO Mon, 06/30/2008 - 12:20
User Badges:

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.


Thanks,

Diego

Collin Clark Mon, 06/30/2008 - 12:33
User Badges:
  • Purple, 4500 points or more

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.


Mark Yeates Mon, 06/30/2008 - 11:57
User Badges:
  • Gold, 750 points or more

That's probably your best bet to boot a different IOS from a CF card.

DIEGO ALONSO Mon, 06/30/2008 - 18:48
User Badges:

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.


Thanks,

Diego


Collin Clark Tue, 07/01/2008 - 05:00
User Badges:
  • Purple, 4500 points or more

TAC might be able to help too.

DIEGO ALONSO Tue, 07/01/2008 - 06:55
User Badges:

I tried them but they didn't have the silver bullet I was looking for.


Diego

DIEGO ALONSO Tue, 07/01/2008 - 11:16
User Badges:

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.


Thanks,

Diego

paolo bevilacqua Tue, 07/01/2008 - 11:41
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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 ?

DIEGO ALONSO Tue, 07/01/2008 - 12:00
User Badges:

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.


Rgds,

Diego

paolo bevilacqua Tue, 07/01/2008 - 14:36
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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.

DIEGO ALONSO Tue, 07/01/2008 - 17:01
User Badges:

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:


http://www.cisco.com/en/US/partner/products/hw/routers/ps214/products_tech_note09186a0080110ed1.shtml


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!


Thanks,

Diego

Actions

This Discussion