Reference Guide

Table Of Contents
Copying Files to and from the System
The command syntax for copying files 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 file to a remote system, combine the file-origin syntax for a local file location with the
file-destination syntax for a remote file location.
To copy a remote file to Dell Networking system, combine the file-origin syntax for a remote file
location with the file-destination syntax for a local file location.
Table 3. Forming a copy Command
Location source-file-url Syntax destination-file-url Syntax
Internal flash: flash
copy flash://filename flash://filename
External flash: usbflash
copy usbflash://filename usbflash://filename
For a remote file location:
FTP server
copy ftp://
username:password@{hostip
| hostname}/filepath/
filename
ftp://
username:password@{hostip
| hostname}/ filepath/
filename
For a remote file location:
TFTP server
copy tftp://{hostip |
hostname}/filepath/
filename
tftp://{hostip |
hostname}/filepath/
filename
For a remote file location:
SCP server
copy scp://{hostip |
hostname}/filepath/
filename
scp://{hostip |
hostname}/filepath/
filename
Important Points to Remember
You may not copy a file from one remote system to another.
You may not copy a file from one location to the same location.
When copying to a server, you can only use a hostname if a domain name server (DNS) server is
configured.
After you insert a USB memory device into the USB port on an S5000 and enter the format
usbflash:// command, to erase all existing files and reformat the file system on the device, allow
the process to run to completion before removing the device from the USB port. If you remove the
USB memory device before the formatting is complete, the Dell Networking OS may not recognize
the file system on the device.
Example of Copying a file to a Remote System
The following shows an example of using the copy command to save a file to an FTP server.
Dell#copy flash://Dell-EF-8.2.1.0.bin ftp://myusername:mypassword@10.10.10.10//
Dell/Dell-EF-8.2.1.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27952672 bytes successfully copied
58
Getting Started