DGS-6604
m
copy
CLI Reference Guide
126
Default
None
Command Mode
Privileged EXEC
Level 15 for configuration copy.
Usage Guideline
The
copy
command (when the source/destination URL is running-config, startup
config is only available at privilege level 15.
Use this command to download or upload the image file or the configuration file
between remote TFTP server and the local file system. Also use this command
to upload system log to TFTP server.
The
copy
SOURCE-URL DESTINATION-URL
command is used to copy file
from system flash to compact flash or vice versa.
To upload the running configuration or save the running-configuration to startup
configuration, specify
running-config
as the
SOURCE-URL
. To save it to the
startup config, specifies
startup-config
as the
DESTINATION-URL
.
Notice:
If the destination is the
startup-config
file, the source file is directly
copied to the file specified in
boot config
command. This means the original
startup-config
file is overwritten by the running configuration.
To apply a configuration file to the running configuration, specify
running-config
as the
DESTINATION-URL
.
Notice:
If the source is a system-log and the destination is a file, the current
system log information is saved to NVRAM with the specified name. Be aware
that any
copy
running-config
action does not imply any system log copy or
saving action.
To represent a file in the remote TFTP server, the URL must be prefixed with tftp:.
If the
SOURCE-URL
or
DESTINATION-URL
is a tftp server, it uses switch port to
connect the network under execution mode. Under management mode It uses
the management port to connect the network. .
In this chassis based switch, the runtime image also contains the operational
code for the line cards. The operational code is automatically synced to the line
card during the boot-up procedure.
Any file to be downloaded (or copied) to the directory to be an image file in the
system's flash or downloaded (or copied) to be the startup-image will be checked
and verified whether it is an image file with a correct checksum and model ID.
Any file to be downloaded (or copied) as the startup-config or the running-config
will be checked and verified whether it is a configuration file or not (the
boot
config
command will also check whether it is a configuration file or not first).
IP-ADDRESS\
The IP address of TFTP server.
DIRECTORY\
The directory name of the source or destination file in TFTP server.