problem trying to tftpdnld a new router ios to a corrupted router

I have a cisco1721 router. I somehow managed to totally corrupt the ios when loading SDM over the top of the ios. I have since purchased a new ios but cannot figure out how to download this onto the router. Since the ios is corrupted it does not have an ip address and therefore I cannot set the ipaddress variable of the router for tftpdnld command. How do I go about pushing this new ios image on CD down to my router?
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.

You'll need to have a TFTP server running on a PC on your network.  You can get a free TFTP server at

Console into the router.  It should be in rommon mode.  If not, you can press CTRL-BREAK within 60 seconds of the router booting to get into rommon mode.

Once in rommon, you need to set the following variables:

IP_ADDRESS—IP address for the router you are using.
IP_SUBNET_MASK—Subnet mask for the router you are using.
DEFAULT_GATEWAY—Default gateway for the router you are using (not required if the TFTP server is in the same subnet as the router).
TFTP_SERVER—IP address of the server from which you want to download the image file.
TFTP_FILE—Name of the file that you want to download.

For example:

rommon 1> IP_ADDRESS=
rommon 2> IP_SUBNET_MASK=
rommon 4> TFTP_SERVER=
rommon 5> TFTP_FILE=c3620-i-mz.120-4.T

Once you set the above variables, you can type the tftpdnld command and press "y" to proceed:

rommon 6>tftpdnld
Do you wish to continue? y/n: y

Make sure you have your TFTP server running and the previous image in the root of the TFTP server's folder.

Reload the router and it should come up with the new IOS.
jimburdonAuthor Commented:
Those were the instructions that I was trying to follow. However, as explained, I don't have the ip address of the router. THe router ios became corrupt, which is why I purcahsed teh new ios. However when you follow through the instructions it tells you to specicy certain variables, the first of which is the ip address of the router!!
What to do?
No, what you are doing is setting the IP address of the router, not specifying the existing IP address.  You are giving it an IP address when using the variables.

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
Without the IP address, you need physical access to the box, a rollover cable plugged into the console port, and a laptop.
Set the IP as  

In the end it doesn't really matter, you can always change it, but to get your ports working it needs an address.
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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.