Concept Guide

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.
Table 5. Forming a copy Command
Location
source-le-url
Syntax
destination-le-url
Syntax
For a remote le location:
NFS File System
copy nfsmount://{<mount-
point>}/filepath/filename}
username:password
tftp://{hostip | hostname}/
filepath/filename
Important Points to Remember
You cannot copy a le from one remote system to another.
You cannot 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 current File System
DellEMC#copy tftp://10.16.127.35/dv-maa-test nfsmount://
Destination file name [dv-maa-test]:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!.!
44250499 bytes successfully copied
DellEMC#
DellEMC#copy ftp://10.16.127.35 nfsmount:
Source file name []: test.c
User name to login remote host: username
Example of Logging in to Copy from NFS Mount
DellEMC#copy nfsmount:///test flash:
Destination file name [test]: test2
!
5592 bytes successfully copied
DellEMC#
DellEMC#copy nfsmount:///test.txt ftp://10.16.127.35
Destination file name [test.txt]:
User name to login remote host: username
Password to login remote host:
!
Example of Copying to NFS Mount
DellEMC#copy flash://test.txt nfsmount:///
Destination file name [test.txt]:
!
52
Getting Started