cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7469
Views
0
Helpful
4
Replies

How to copy file from tftpserver to router?

Bridie
Level 1
Level 1

I have a linux server from which I want to copy files to cisco router - c8kv via tftp,

what should I enable on the cisco router?
Or tftp client will be enabled by default?

 

I dont want to trigger the download from cisco router to the tftp server, instead I want to trigger it from tftp server.

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

From the router, issue this command:  

copy tftp://<TFTP_IP_ADDRESS>/filename.ext flash:

marce1000
Hall of Fame
Hall of Fame

 

                   >...instead I want to trigger it from tftp server

  The router only has tftp-client capabilities , so this can not be done.

 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,

 

I used the method described below once. 

 

Copy a Configuration File from the TFTP Server to the Router

 

https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/7910-11-7910.html#copying2

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Or tftp client will be enabled by default?"

On the router, yes, there's a tftp-client enabled by default.

Also on the router, it's possible (or used to be), to enable the router, itself, to be a tftp server (or to be a FTP server [except for very old IOS versions] or [at least once upon a time] a 'nx like file server [forget what that kind of server is called - I used to use that before Cisco routers supported the FTP server feature]).

As to "triggering" a file copy from the tftp server, one method, as noted by Georg, would be to use SNMP, from you tftp server to invoked the copy on the router.  Another possible method would be to use scripting, from your tftp server, to "logon" to the router and use a command line copy command.