Reference Guide

copy
Copy one file to another location. FTOS supports IPv4 and IPv6 addressing for FTP, TFTP, and SCP (in the
hostip
field).
S4820T
Syntax
copy source-file-url destination-file-url
Parameters
Enter the following location keywords and information:
file-url
To copy a file
from the internal
FLASH
enter flash:// followed by the filename
To copy a file on
an FTP server
enter ftp://
user:password@hostip/filepath
To copy the
running
configuration
enter the keyword running-config
To copy the
startup
configuration
enter the keyword startup-config
To copy using a
Secure Copy
(SCP),
enter the keyword scp:
If you enter scp: in the source
position, enter the target URL;
If you enter scp: in the target
position, first enter the source URL;
To copy a file on
the external
FLASH
enter slot0:// followed by the filename
To copy a file on
a TFTP server
enter tftp://hostip/filepath
To copy a file
from an external
USB drive
enter usbflash://filepath
Command Modes EXEC Privilege
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.4.1.0 Added IPv6 addressing support for FTP, TFTP, and SCP.
Version 8.3.19.0 Introduced on the S4820T.
59