Users Guide

Copying 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 le-origin syntax for a local le location with the le-destination syntax for a
remote le location.
To copy a remote le to Dell Networking system, combine the le-origin syntax for a remote le location with the le-destination
syntax for a local le location.
Table 3. Forming a copy Command
Location
source-le-url
Syntax
destination-le-url
Syntax
Internal ash: ash
copy flash://filename flash://filename
External ash: usbash
copy 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 a domain name server (DNS) server is congured.
After you insert a USB memory device into the USB port on an S5000 and enter the format usbflash:// command, to
erase all existing les and reformat the le 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 le system on the device.
Example of Copying a le to a Remote System
The following shows an example of using the copy command to save a le 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
Example of Copying a le from a Remote System
The following shows an example of using the copy command to import a le to the S5000 switch from 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
54
Getting Started