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

Archive configs to TFTP server

mmasenya
Level 1
Level 1

Hi there

I am struggling to copy running config of a router to a remote tftp server. The tftp server is reachable because i can ping it from the router. 

Below is my example of what i am doing;

 

first pinging the tftp server:

dock-00#ping 192.168.3.24

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.24, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/38/40 ms

Then trying to copy:
dock-00#copy flash tftp
Source filename [c1841-ipbasek9-mz.124-23.bin]?
Address or name of remote host []? 192.168.3.24
Destination filename [c1841-ipbasek9-mz.124-23.bin]?
.....
%Error opening tftp://192.168.3.24/c1841-ipbasek9-mz.124-23.bin (Timed out)

 

It fails even if i change the destination filename to, for example, "R2"

 

regards

 

 

 

1 Accepted Solution

Accepted Solutions

marce1000
VIP
VIP

 

 - For starters the bin file(s) which you specify in the tftp command test don't relate to the running config , which as you state you are trying to copy/backup  to the tftp server, the latter can be achieved with :  # copy running-config tftp://192.168.3.24/config.backup.copy (e.g,).            If that fails too, then also check the logs of the tftp server.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame
conf t
 tftp flash:c1841-ipbasek9-mz.124-23.bin
end

marce1000
VIP
VIP

 

 - For starters the bin file(s) which you specify in the tftp command test don't relate to the running config , which as you state you are trying to copy/backup  to the tftp server, the latter can be achieved with :  # copy running-config tftp://192.168.3.24/config.backup.copy (e.g,).            If that fails too, then also check the logs of the tftp server.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

in addition to marce1000 post
in some tftp-server implementation you cannot CREATE files in the root -> specify a subdirectory
or you cannot create files at all, -> create an empty file first, then you may be able to overwrite this (and/or create a subdir first.)
the logs of the tftpserver will indicate what the error is.

mmasenya
Level 1
Level 1

Guys

Thanx very much for your help. I am sorted and everything works well.

regards

 

Review Cisco Networking products for a $25 gift card