File System Management
7950 SR OS Basic System Configuration Guide
Page 71
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 7950 XRS 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 [email protected]:cf1:\file1
A:ALA-1>file cf1:\ #
scp file2 [email protected]:/user2/file2
A:ALA-1>file cf1:\ #
scp cf:/file3 [email protected]:cf1:\file3
Содержание 7950 XRS Series
Страница 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Страница 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Страница 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Страница 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Страница 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Страница 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Страница 92: ...Basic Command Reference Page 92 7950 SR OS Basic System Configuration Guide show system candidate...
Страница 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Страница 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Страница 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Страница 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Страница 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Страница 500: ...Standards and Protocols Page 500 Standards and Protocols...
Страница 502: ...Index Page 502 7950 SR OS Basic System Configuration Guide system parameters 252 system time elements 256 timing 294...