[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


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

Posted on 2004-10-27
Medium Priority
Last Modified: 2008-02-01
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?
Question by:jimburdon
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 43

Expert Comment

ID: 12432478
You'll need to have a TFTP server running on a PC on your network.  You can get a free TFTP server at www.solarwinds.net

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.


Author Comment

ID: 12437355
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?
LVL 43

Accepted Solution

JFrederick29 earned 1000 total points
ID: 12437979
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.

Expert Comment

ID: 12443959
Without the IP address, you need physical access to the box, a rollover cable plugged into the console port, and a laptop.

Expert Comment

ID: 12462913
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.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This solves the problem of diagnosing why an internet connection is no longer working. It also helps identify the likely cause of the lost connection if the procedure fails to re-establish your internet connection. It helps to pinpoint the likely co…
Sometimes you have to pull out old tricks to get a new firewall to work… While we were installing a new Sonicwall at a customers site we found that sites they were able to visit before were not working.  It seemed random and we could not understa…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question