router to tftp server software copy

Cisco 1800
Cisco Routers
Router Software
I want to copy new software from tftp server to my router and i tried many times but its failed so any one know the way to do that

Software/Hardware used:

Answer Wiki

Thanks. We'll let you know when a new response is added.

I presume this is a Cisco router ?

As there are many ways for this to fail, you need to post the messages here for the whole process you are trying. Also post the part of the configuration for the interface that is connected to the same subnet as the TFTP server.

There are no passwords, so it should be safe for you to do this. If we can see exactly what is happening, then we can help you further.

If possible, I might recommend using FTP if possible. TFTP has a problem with windowing. Often times, this will cause hiccups and not let them be fixed. FTP is a reliable protocol and much more likely to work for you.

Discuss This Question: 4  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Mohadbazzi47
    I have cisco router 1800 and i want to change the software version so i downloaded the software from cisco website so the software in my pc now and i have tftp server but i dont know how to copy it to the router just i want the steps to do this
    170 pointsBadges:
  • BlankReg
    Make sure the PC and router can communicate by using a PING from the router to the PC to confirm. You may need to turn off any firewall on the PC while you do this entire process. On the PC, run a TFTP server application, such as the Solarwinds free one which you can get by going to On the router I suspect you do not have enough flash memory for both the existing image, and the new one, so we will make a backup first. On the router do the following commands (Note the : after the work flash) dir flash: Make a note of the image name that you already have in flash. copy flash: tftp It then asks for the source filename, which is the image name you just noted. Then it asks for the address of the remote host, this is the IP address of your PC. The destination filename is going to be the same, so just press return to this prompt. It should then copy the existing image to your PC. To copy the new image, do the following. copy tftp flash: The address is your PC, the filename is the new image name, and the destination will be the same, so again just press return. It will check it can find this new image, and then asks if you want to erase the flash, the default option is yes, so just press return to this. You should then see it erase the flash and copy in the new IOS image. When it finishes, you need to reload the router to run this. Either use the reload command, or power off for 30 seconds, and then back on. When it has loaded, you can confirm the new image is running OK by using the show version command which displayes the version of IOS that is running. If you get any problems, or errors, please post them here, and we can help you further.
    12,325 pointsBadges:
  • Sonotsky
    I wrote a backup script in Perl a few years ago, and I remember that one of the caveats when dealing with the TFTP server was how to specify the destination (or source, in this case) from the IOS command line. When I gave the IOS 'copy' command a "full" path to push file to, it complained. It only wanted a *relative* path. So, if the real filesystem on the TFTP host was /tftproot/cisco, I would feed 'copy' something like "cisco/mydev/myfile". It took a fair bit of digging to make that determination; that may or may not be the problem here. BlankReg may be right; size of flash on the device might not have enough free space to store the new image.
    695 pointsBadges:
  • BlankReg
    I usually put the files to TFTP in the directory that the TFTP server software has as it's root, then you don't need a path at all. I have had some problems specifying paths with TFTP, so I think this is the simplest solution from that side.
    12,325 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: