Command Reference Guide

File Management |35
Defaults
Not configured.
Command Modes
EXEC Privilege
Command
History
Usage
Information
A system message appears stating that the bootflash image has been changed. You must
reload the system before the system can switch to the new bootflash image.
copy
c e s
Copy one file to another location. FTOS supports IPv4 and IPv6 addressing for FTP, TFTP,
and SCP (in the
hostip field).
Syntax
copy source-file-url destination-file-url
Parameters
Command Modes
EXEC Privilege
Command
History
Usage
Information
FTOS supports a maximum of 100 files, at the root directory level, on both the internal and
external Flash.
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
file-url
Enter the following location keywords and information:
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 a file from the internal FLASH on RPM0, enter rpm0flash://filepath
To copy a file from the external FLASH on RPM0, enter rpm0slot0://filepath
To copy a file from the internal FLASH on RPM1, enter rpm1flash://filepath
To copy a file from the external FLASH on RPM1, enter rpm1slot0://filepath
To copy the running configuration, enter the keyword running-config.
To copy the startup configuration, enter the keyword startup-config.
To copy using Secure Copy (SCP), enter the keyword scp: (If scp: is entered in
the source position, then enter the target URL;
If scp: is entered in the target position, first enter the source URL; refer to the
examples below.)
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
ExaScale only
To copy a file from a USB drive on RPM0, enter rpm0usbflash://filepath
To copy a file from an external USB drive, enter usbflash://filepath
Version 8.4.1.0 Added IPv6 addressing support for FTP, TFTP, and SCP.
Version 8.2.1.0 Added usbflash and rpm0usbflash commands on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series and added SSH port number to SCP prompt sequence
on all systems.
Version 7.5.1.0 Introduced on C-Series
E-Series original Command