Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corrupted IOS

Status
Not open for further replies.

9826024006

Technical User
Feb 24, 2003
31
AE
HI,
can any one help me to recover my IOS...actually i hv cisco 1601 router. its IOS has been corrupt..now Router is not booting. I want to upload new IOS image into it how can I do that? I am accessing router thru Console.

Please help me
 
When the router boots to you arrive at ROMMON> ??
Do you have an image to load ??
Do you have a TFTP Server ??
 
I don't have any IOS image in router. I can boot router in rommon mode. now I have TFTP server with IOS image . I want router to take IOS image from TFTP server. how can I do that?
 
I have had problems upgrading IOS before in which Image gets corrupt and I have no IP connectivity at all.

In this case you need to load IOS into flash over RS232 connection using 9.6 rate.

This is the only thing that will work if you are really stuffed, the task takes about 6 hours to load an IOS image into flash. I was trying all sorts of hex codes and none of them worked, 6 hours later I had IOS image on the box and restored it with a base config.

Once I had ip connectivity I then extracted newer image using archive extraction command and everything was good. Let me know how you are getting on ;)


I work for IDL ( and my website is ;)
 
Hi All,

If the router is in rommon mode you don't need a tftp server to load the image. Megaco do cut down the time taken for the image you must increase the baud speed from 9600 to the max allowed by a specific router most routers will support 115200 which will cut your time from 6 hours to aournd 30 min. In this case we can try the following:
Console into the router at rommon prompt chek the following:
meminfo ( to see if the main memory on the router is fine)
dev < to see where any images may be located on the router>
dir flash: < to see if we have any valid image/s in flash>
Now,
1. If you have a valid image in flash (no errors or valid magic number) do the following:
confreg 0x2142
i <to reload the router> this way the router will load the first valid image from internal flash ignoring your startup config file just in case you have a boot statement command pointing to an invalid image.

2. If you don't have a valid image in flash:
*You need to get the image on you PC connected to the router via the console port
* use the xmodem command to upload the image into your flash

all the needed steps are at:
Cheers and good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top