cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
1
Helpful
4
Replies

COPY A FILE TO A DIRECTORY ON ANOTHER ROUTER USING TFTP

JUANNN
Spotlight
Spotlight

Hello,

 

I have a folder in the TFTP server router, in the flash memory:

JUANNN_0-1740339359665.png

I will like to copy a file from the TFTP client router to the TFTP server router, but specifically to the circled folder (not just to the flash). I will like to do this from the client router (I tried copy flash:filename tftp://4.4.4.4/bootflash/CRL_STORAGE but it didn't work. It said Permission Denied). 

Here is the TFTP commands on the server:

JUANNN_1-1740339675931.png

I can ping the loopbacks between client and server. I also put a log keyword on the deny any entry of ACL 1 wondering if it was that, and no hits. I think I just have the wrong syntax.

Does anyone know the proper syntax for this operation?

 

Thanks,

Juan

4 Replies 4

marce1000
Hall of Fame
Hall of Fame

 

  - Routers don't offer tftp (services) ; use an external intermediate tftp server (platform) for your purposes ,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello,

Thanks, But I have done in the past actions like copying an image stored on the flash on a router via TFTP to another router's flash memory. I am no sure what Routers don't offer tftp (services) refers to.

Thanks,

Juan

In order to be able to copy from an external TFTP server to a directory in the bootflash: you have to firs issue the command on your router in global configuration mode:

tftp-server bootflash:CRL_STORAGE

After that you can copy to that directory in the bootflash:

copy tftp://TFTP_SERVER_IP/filename bootflash:CRL_STORAGE/filename

HTH

Regards, LG
*** Please Rate All Helpful Responses ***

Hello,

Thanks. This works as a possible solution, even though the goal was to have the TFTP client to put a file on the TFTP server specific directory, using Cisco routers. This is, issue a command on the TFTP client router to copy a file from the client to the CRL_STORAGE directory on the TFTP Server router.

However, I decided to use a dedicated TFTP server platform and that way works, using:

copy filename tftp://IPaddServer/CRL_STORAGE/destination-filename

Still curious if there is a way to do it like I mentioned above though.

Juan