Concept Guide
Copy Files to and from the System
The command syntax for copying les is similar to UNIX. The copy command uses the format copy source-file-url
destination-file-url.
NOTE: For a detailed description of the copy command, refer to the
Dell Networking OS Command Line Reference Guide
.
• To copy a local le to a remote system, combine the file-origin syntax for a local le location with the file-destination
syntax for a remote le location.
• To copy a remote le to Dell Networking system, combine the file-origin syntax for a remote le location with the file-
destination syntax for a local le location.
Table 3. Forming a copy Command
Location
source-le-url
Syntax
destination-le-url
Syntax
Internal ash: flash
copy flash://filename flash://filename
USB ash: usbflash
usbflash://filename usbflash://filename
For a remote le location:
FTP server
copy ftp://
username:password@{hostip |
hostname}/filepath/filename
ftp://username:password@{hostip
| hostname}/ filepath/filename
For a remote le location:
TFTP server
copy tftp://{hostip |
hostname}/filepath/ filename
tftp://{hostip | hostname}/
filepath/filename
For a remote le location:
SCP server
copy scp://{hostip | hostname}/
filepath/ filename
scp://{hostip | hostname}/
filepath/filename
Important Points to Remember
• You may not copy a le from one remote system to another.
• You may not copy a le from one location to the same location.
• When copying to a server, you can only use a hostname if you congured a domain name server (DNS) server.
NOTE
: If all of the following conditions are true, the Portmode Hybrid conguration is not applied, because of the conguration
process for server ports as switch ports by default:
• The running conguration is saved in ash.
• The startup conguration is deleted.
• The switch is reloaded.
• The saved conguration is copied to the running conguration.
To avoid this scenario, delete the switch port conguration from the running conguration before copying the saved conguration to
the running conguration.
Example of Copying a File to an FTP Server
The bold ash shows the local location and the bold ftp shows the remote location.
Dell#copy flash://FTOS-EF-8.2.1.0.bin ftp://myusername:mypassword@10.10.10.10/
/FTOS/FTOS-EF-8.2.1.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27952672 bytes successfully copied
56
Getting Started