Use your router as TFTP server

We all on occasion need a TFTP server, and grope for pumpkin or similar software whenever one is needed.

Did you know you could make an existing router a TFTP server for your purpose? All you need to do is to copy the necessary files in flash or RAM that you want to port on the other system, and then activate the IOS TFTP server.

Here's how:

Use the tftp-server [device]:[filename] command in global configuration mode as follows: 

r8#dir slot0:
Directory of slot0:/

    1  -rw-    13961256              <no date>  c3660-jk8s-mz.122-12b.bin

20709376 bytes total (6748056 bytes free)
r8#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
r8(config)#tftp
r8(config)#tftp-server slot0:?
slot0:c3660-jk8s-mz.122-12b.bin

r8(config)#tftp-server slot0:c3660-jk8s-mz.122-12b.bin
r8(config)#^Z 
r8# 

    Requires Free Membership to View

This was first published in July 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.