Router as a TFTP server

Shaun needed an extra TFTP server in CCNP labs and asked whether you could use a router to act as one. The read-only (download only) TFTP functionality has been available in Cisco IOS for a long time, but the common wisdom was that you could only use the TFTP server function to serve current IOS image.

Fortunately, as of IOS 11.0, the function is more generic; you can serve any file residing on the router (you still cannot upload files), but you have to declare each file to be served with the tftp-server path global configuration command. You could even specify an alias to have the file available under a different name and attach an access list to each configured file to restrict its availability.

Note: This article is part of You've asked for it series.

4 comments:

  1. advantage of using Router as TFTP server

    ReplyDelete
  2. no therer is no advantage for usign router as tftp server :-P

    ReplyDelete
  3. CAn you please tell me how to configure a router as a tftp server so that I can copy the
    config file from one to the other.
    Thanks

    ReplyDelete
  4. Read the post (above), identify the command (hint: it's in the bold), if needed, consult the documentation for your IOS on CCO.

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.