Concept Guide

Table Of Contents
The foreign file system remains mounted as long as the device is up and does not reboot. You can run the file system commands
without having to mount or un-mount the file system each time you run a command. When you save the configuration using the
write command, the mount command is saved to the startup configuration. As a result, each time the device re-boots, the
NFS file system is mounted during start up.
Table 4. Forming a copy Command
Location
source-file-url
Syntax
destination-file-url
Syntax
For a remote file 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 file from one remote system to another.
You cannot copy a file 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 configured.
The usbflash command is supported on the device. Refer to your systems Release Notes for a list of approved USB
vendors.
Example of Copying a File to current File System
Dell#copy tftp://10.16.127.35/username/dv-maa-C9010-test nfsmount://
Destination file name [dv-maa-sC9010-test]:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!.!
44250499 bytes successfully copied
Dell#
Dell#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
Dell#copy nfsmount://test flash:
Destination file name [test]: test2
!
5592 bytes successfully copied
Dell#
Dell#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
Dell#copy flash://test.txt nfsmount://
Destination file name [test.txt]:
!
15 bytes successfully copied
Dell#copy flash://ashu/capture.txt.pcap nfsmount://
Destination file name [test.txt]:
!
15 bytes successfully copied
Dell#copy flash://ashu/capture.txt.pcap nfsmount://username/snoop.pcap
!
24 bytes successfully copied
Dell#
Dell#copy tftp://10.16.127.35/username/dv-maa-C9010-test ?
flash: Copy to local file system ([flash://]filepath)
nfsmount: Copy to nfs mount file system (nfsmount://filepath)
running-config remote host:
Destination file name [test.c]:
!
Getting Started
45