Copying Files

Use the copy command to upload or download an image file, configuration file, or other file types to or from a flash card or a TFTP server.

The scp command copies files between hosts on a network. It uses SSH for data transfer, and uses the same authentication and provides the same security as SSH.

The source file for the scp command must be local. The file must reside on the 7705 SAR router. The destination file must be in the format: user@host:file-name. The destination does not need to be local.

Use the CLI syntax displayed below to copy files:

CLI Syntax:
file> 
    copy source-file-url dest-file-url [force]
    scp local-file-url destination-file-url [router router name | service-id] [force]

The following displays an example of the copy command syntax:

Example:
     ALU-1>file cf3::\ # copy 104.cfg cf3::\test1\test2\test3\test.cfg
     ALU-1>file cf3::\ # scp file1 admin@192.168.x.x:cf3::\file1 
     ALU-1>file cf3::\ # scp file2 user2@192.168.x.x:/user2/file2 
     ALU-1>file cf3::\ # scp cf3::/file3 admin@192.168.x.x:cf3::\file3