Copy Files To And From The System - Dell Z9500 Configuration Manual

Z-series core and aggregation switche
Hide thumbs Also See for Z9500:
Table of Contents

Advertisement

-
-
-
-
You can change the default file system so that file management commands apply to a particular device or memory.
To change the default directory, use the following command.
Change the default directory.
EXEC Privilege mode
cd directory

Copy Files to and from the System

The command syntax for copying files 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 Reference.
To copy a local file to a remote system, combine the file-origin syntax for a local file location with the file-destination
syntax for a remote file location.
To copy a remote file to Dell Networking system, combine the file-origin syntax for a remote file location with the file-
destination syntax for a local file location.
Table 3. Forming a copy Command
Location
For a remote file location:
FTP server
For a remote file location:
TFTP server
For a remote file location:
SCP server
Important Points to Remember
You may not copy a file from one remote system to another.
You may not 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.
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
- network
rw tftp:
- network
rw scp:
source-file-url Syntax
copy ftp://
username:password@{hostip |
hostname}/filepath/filename
copy tftp://{hostip |
hostname}/filepath/ filename
copy scp://{hostip | hostname}/
filepath/ filename
destination-file-url Syntax
ftp://username:password@{hostip
| hostname}/ filepath/filename
tftp://{hostip | hostname}/
filepath/filename
scp://{hostip | hostname}/
filepath/filename
Getting Started
47

Advertisement

Table of Contents
loading

Table of Contents