From ip tuning
Jump to: navigation, search

Transferring files to and from IOS and UCOS devices can be tricky. There are several methods to do this. Here are some of the most useful ones.

Cisco device initiated

Cisco device initiated transfers mean you start the copy from the IOS device to another device.

This is true for CUCM, where the transfers must be always initiated from CUCM.

Remote initiated

Remote initiated transfers mean the file is requested by the remote device to the Cisco device.


This is by far the simplest method. It's slow and usually error prone. Should be used as last resort.

On the IOS device just assign the file to TFTP server files:

(config)#tftp-server flash:filetotransfer

Now from the remote device you can download it via TFTP:

C:\Users\user>tftp x.x.x.x get filetotransfer


Secure Copy (SCP) can be used if you only have SSH access to the Cisco device. Cisco IOS gateways do not allow file listing, so using graphical tools (like WinSCP) usually does not work.

The recommended method is to use a command line tool like pscp (PuTTY SCP). The example given is using SCP.

Configuration on the IOS device

You need to enable SCP server mode. Users are authenticated the same way as the login users:

(config)#ip scp server enable

Now, using pscp you can download the file:

C:\Users\user>pscp -scp username@x.x.x.x.x:/bootflash:filetotransfer .