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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load IOS image on 2524, when flash already erased.

Status
Not open for further replies.

beatdown

Technical User
Feb 27, 2005
85
US
Hi all,

I bought a 2524 router on ebay, to learn on for the CCNA. I was attempting to upgrade the Flash to a newer IOS, using TFTP, but an error occured while the Bin file was uploading, and the upgrade wasn't successful. So now there is nothing in Flash memory on the router. The router now boots to a prompt that looks like this:

Router(boot)>

I tried again to upload the IOS image with TFTP, but it always fails about halfway through the upload. I did some research online, and read that you can't upload an IOS image with TFTP if Flash has already been erased...instead, you must use XModem. But the 2500 series routers don't do XModem.

Can anyone tell me what I need to do here to get an IOS in Flash?

Thanks!
 
Yes...boot the router, but while it is booting, press ctrl-break, or whatever the break sequence is for your keyboard. Then, you should get this prompt...
rommon>
At this prompt, type...
rommon>set
then I think you get the rommon> again
Then do this...
rommon>IP_ADDRESS=xxx.xxx.xxx.xxx, whatever is in the same subnet of the computer. Then
rommon>IP_SUBNET_MASK=xxx.xxx.xxx.xxx
then
rommon>DEFAULT_GATEWAY=xxx.xxx.xxx.xxx
then
rommon>TFTP_SERVER=xxx.xxx.xxx.xxx
then
rommon>TFTP_FILE=blablabla-blablabla.bin
Finally...
rommon>tftpdnld
and follow what is says after that.

A few things to note...
1)The commands I specified MUST be in CAPS!!!
2)The commands I specified MUST be in CAPS!!!
3)For more info, Google "tftpdnld"
4)The commands I specified MUST be in CAPS!!!

That's it. Oh, I almost forgot...did I mention...just kidding.

Good luck, bro.

Burt
 
A few more things...
A tftp service must be running in the backround, it is best to have the file right on C:\ on the computer, and the last command
rommon>tftpdnld
is NOT in caps---just the ones I typed in CAPS are in CAPS. The initial "set" command may or may not be necessary, but it is NOT in CAPS.

Burt
 
the router is coming up in boot mode... so you can upload a new ios to the flash.. its not read only. that is what boot mode is for.. youll see you can set ips and such.
the reason your ios is crapping out is either that you dont have enough flash.. or maybe your tftp server is killing the connection.

i would try a different server.. i use solarwinds most of the time.. but i use one from 3com as a backup when it isn't cooperating.

xmodem is another option but is slower.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top