Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.8

copy

Copy one file to another location. Dell EMC Networking OS supports IPv4 and IPv6 addressing for FTP, HTTP, TFTP, and SCP (in the hostip field).

Syntax
copy source-file-url destination-file-url
Parameters
compressed-config
Enter the keywords compressed-config to copy a file from the current system configuration.
flash:
Enter the keyword flash: to copy from the local file system ([flash://]filepath).
ftp:
Enter the keyword ftp: to copy from the remote file system, IPv4, or IPv6, (ftp://userid:password@hostip/filepath) .
http:
Enter the keyword http: to copy from the remote file system, IPv4, or IPv6, (http://hostip/filepath) .
nfsmount:
Enter the keyword nfsmount: to copy from the nfs mount file system (nfsmount://<mount-point>/filepath).
running-config
Enter the keywords running-config to copy from the current system configuration.
scp:
Enter the keyword scp: to copy from the remote file system, IPv4, or IPv6, (scp://userid:password@hostip/filepath).
startup-config
Enter the keywords startup-config to copy from the startup configuration.
tftp:
Enter the keyword tftp: to copy from the remote file system, IPv4, or IPv6, (tftp://hostip/filepath).
usbflash:
Enter the keyword usbflash: to copy the file to or from the external USB flash.
Command Modes
EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.12(1.0)
Introduced on the S5048F–ON.
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON. Added the nfsmount:<mount-point> parameters that allow you to mount a remote NFS file system.
9.4(0.0)
Added the compressed-config parameter.
9.3(0.1)
Added the http parameter on the S6000, Z9000, S4810, and S4820T.
9.0.2.0
Introduced on the S6000.
8.4.1.0
Added IPv6 addressing support for FTP, TFTP, and SCP.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.2.1.0
Added usbflash and rpm0usbflash commands on E-Series.
7.6.1.0
Introduced on the S-Series and added the SSH port number to the SCP prompt sequence on all systems.
7.5.1.0
Introduced on the C-Series.
E-Series
Original command.
Usage Information

Dell EMC Networking OS supports a maximum of 100 files at the root directory level on both the internal and external flash.

When copying a file to a remote location (for example, using Secure Copy [SCP]), enter only the keywords and Dell EMC Networking OS prompts you for the rest of the information. For example, when using SCP, you can enter copy running-config scp: where running-config is the source and the target is specified in the ensuing prompts. Dell EMC Networking OS prompts you to enter any required information for the named destination — remote destination, destination filename, user ID, password, and so forth.

When you use the copy running-config startup-config command to copy the running configuration to the startup configuration file, Dell EMC Networking OS creates a backup file on the internal flash of the startup configuration.

When you load the startup configuration or a configuration file from a network server such as TFTP to the running configuration, the configuration is added to the running configuration. This does not replace the existing running configuration. Commands in the configuration file has precedence over commands in the running configuration.

Dell EMC Networking OS supports copying the running-configuration to a TFTP server, an FTP server, or a remote NFS file system. For example:

  • copy running-config tftp:
  • copy running-config ftp:
  • copy running-config nfsmount://<mount-point>/filepath

You can compress the running configuration by grouping all the VLANs and the physical interfaces with the same property. You can store the operating configuration to the startup config in Compressed mode and perform an image downgrade without any configuration loss.

Example
DellEMC#copy running-config scp:
Address or name of remote host []: 192.168.1.1
Port number of the server [22]: 22
Destination file name [startup-config]:
User name to login remote host: username
Password to login remote host: 
!
4080 bytes successfully copied
DellEMC# 
In this copy scp: flash: example, specifying SCP in the first position indicates that you need to specify the target in the ensuing prompts. Entering flash: in the second position indicates that the target is the internal flash. The source is on a secure server running secure shell (SSH), so you are prompted for the user datagram protocol (UDP) port of the SSH server on the remote host.
Example
DellEMC# copy running-config nfsmount://<mount-point>/filepath
Destination file name [test.txt]:
User name to login remote host: usrname
Password to login remote host:
DellEMC#
Example
DellEMC# copy scp: flash:
Address or name of remote host []: 10.11.199.134
Port number of the server [22]: 99
Source file name []: test.cfg
User name to login remote host: admin
Password to login remote host:
Destination file name [test.cfg]: test1.cfg
DellEMC#
Example
DellEMC# copy compressed-config compressed-cfg
!
6655 bytes successfully copied
DellEMC#
DellEMC#copy compressed-config ftp:
Address or name of remote host []: 10.11.8.12
Destination file name [startup-config]:
User name to login remote host: spbalaji
Password to login remote host:
!
6655 bytes successfully copied
DellEMC#  
Example
DellEMC# copy http://admin:admin123@10.16.206.77/sample_file flash://sample_file
DellEMC#
Related Commands
  • cd – changes the working directory.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\