Reference Guide

58 | Getting Started
www.dell.com | support.dell.com
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.
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, see Table 3-2.
To copy a remote file to an S5000 switch, combine the
file-origin syntax for a remote file location with
the
file-destination syntax for a local file location, see Table 3-2.
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, a hostname can only be used if a 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, Dell Networking OS may not recognize the
file system on the device.
Figure 3-6 shows an example of using the
copy command to save a file to an FTP server.
Note: For a detailed description of the copy command, refer to the Dell Command Reference Guide.
Table 3-2. Forming a copy Command
source-file-url Syntax destination-file-url Syntax
Local File Location
Internal flash:
flash
copy flash://filename flash://filename
External flash:
usbflash
usbflash://filename usbflash://filename
FTP server copy ftp://username:password@{hostip |
hostname}/filepath/filename
ftp://username:password@{hostip | hostname}/
filepath/filename
TFTP server copy tftp://{hostip | hostname}/filepath/
filename
tftp://{hostip | hostname}/filepath/filename
SCP server copy scp://{hostip | hostname}/filepath/
filename
scp://{hostip | hostname}/filepath/filename