Users Guide

Location
source-le-url
Syntax
destination-le-url
Syntax
FTP server
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
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 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.
Before executing any CLI command to perform le operations, you must rst mount the NFS le system to a mount-point on the device.
Since multiple mount-points exist on a device, it is mandatory to specify the mount-point to which you want to load the system.
The /f10/mnt/nfs directory is the root of all mount-points.
To mount an NFS le system, perform the following steps:
Table 4. Mounting an NFS File System
File Operation Syntax
To mount an NFS le system:
mount nfs rhost:path mount-
point username password
The foreign le system remains mounted as long as the device is up and does not reboot. You can run the le system commands without
having to mount or un-mount the le system each time you run a command. When you save the conguration using the write command,
the
mount command is saved to the startup conguration. As a result, each time the device re-boots, the NFS le system is mounted
during start up.
50
Getting Started