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 EMC Networking OS Command Reference
.
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 EMC 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
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.
Example of Copying a File to an FTP Server
DellEMC#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 Importing a File to the Local System
core1#$//copy ftp://myusername:mypassword@10.10.10.10//Dell/
Dell-EF-8.2.1.0.bin flash://
Destination file name [Dell-EF-8.2.1.0.bin.bin]:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26292881 bytes successfully copied
Mounting an NFS File System
This feature enables you to quickly access data on an NFS mounted le system. You can perform le operations on an NFS mounted le
system using supported le commands.
This feature allows an NFS mounted device to be recognized as a le system. This le system is visible on the device and you can execute
all le commands that are available on conventional le systems such as a Flash le system.
Getting Started
53