cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13652
Views
16
Helpful
3
Replies

Copy image from one device to another

Hello all,

 

I would like to copy an image that i have in one switch to all other switches on production.

I used the below but test file hasn't been copied

 

SWITCH#copy flash:test.txt scp:test.txt
Address or name of remote host []? 192.168.1.5
Destination username [admin]?
Destination filename [test.txt]?
Writing test.txt
0 bytes copied in 80.000 secs (0 bytes/sec)

 

Thoughts?

 

Thank you

1 Accepted Solution

Accepted Solutions

Hi, If I correctly remember SCP works only if you have ssh access on the device.

 

You can try to enable a tftp server on your switch that has the file to propagate:

 

conf t

tftp-server flash:test.txt

 

and using "copy tftp flash" command from the console of the switch that must receive the file.

 

Regards.

View solution in original post

3 Replies 3

Hi, If I correctly remember SCP works only if you have ssh access on the device.

 

You can try to enable a tftp server on your switch that has the file to propagate:

 

conf t

tftp-server flash:test.txt

 

and using "copy tftp flash" command from the console of the switch that must receive the file.

 

Regards.

Hi,

 

Thank you. It worked!!

 

Is there any way to use ssh as it is more secure?

 

 

To be honest I'm not sure that you can use scp between cisco devices. Probably you can use scp between cisco and linux server.

In order to have a little bit of security during file transfer you can configure an ACL to allow only authorized switches.

 

Regards.