File System Management
7210 SAS D, E, K OS Basic System Configuration Guide Page 91
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 router. The
destination file has to be of 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 | ser-
vice-id] [force]
The following displays an example of the copy command syntax:
Example
: A:ALA-1>file cf1:\ # copy 104.cfg cf1:\test1\test2\test3\test.cfg
A:ALA-1>file cf1:\ # scp file1 admin@192.168.x.x:cf1:\file1
A:ALA-1>file cf1:\ #
scp file2 user2@192.168.x.x:/user2/file2
A:ALA-1>file cf1:\ #
scp cf1:/file3 admin@192.168.x.x:cf1:\file3