DGS-6604
m
copy
CLI Reference Guide
125
copy
Use the
copy
command to copy a image, log or configuration file from a remote
or local source to a local or remote destination file.
copy
SOURCE-URL DESTINATION-URL
copy
SOURCE-URL
tftp:\\
{IP-ADDRESS | IPv6-ADDRESS}
\[
DIRECTORY
\]
FILENAME
copy tftp:\\
{IP-ADDRESS | IPv6-ADDRESS}
\ [
DIRECTORY
\ ]
FILENAME
DESTINATION
-
URL
Syntax Description
SOURCE-URL
Specifies the source URL for the source file to be copied.
The URL has two forms. One of them is represented by keyword. For the second
form, it is prefixed by the media. The acceptable media are flash:\ and cf1:\.
Flash:\ refers to system internal on-board FLASH memory
cf1:\ represents the first opened slot compact FLASH memory.
The source can be either local or remote. For download purpose, the source is in
remote server. For upload purpose, the source is located locally.
If the
running-config
is specified as the
SOURCE-URL
, the purpose is to upload
the running configuration or save the running-configuration as the startup
configuration.
If the system-log is specified as the
SOURCE-URL
, the system log can be
retrieved to TFTP server.
If the
startup-config
is specified as the
SOURCE-URL
, the purpose is to upload
the startup configuration and save it as: a file in the file system or as the running-
configuration.
DESTINATION-URL
Specifies the destination URL as the target for the copied file.
The URL has two forms. One of them is represented by keyword. For the second
form, it is prefixed by media. The acceptable media are flash:\, cf1:\.
Flash:\ refers to system internal on-board FLASH memory
cf1:\ represents the first opened slot compact FLASH memory.
The destination can be either local or remote. When downloading the destination
is target is the local file system. When uploading the destination is on a remote
server.
When
running-config
is specified as the
DESTINATION-URL,
it will write the
source file contents as the running configuration.
When
startup-config
is specified as
DESTINATION-URL
, the source file contents
will be saved as the next-boot configuration. It will saved into the current
configuration file in NVRAM and the file name will be maintained as the file name
specified with
boot config
command.
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...