DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
207
is to upload the running configuration or save the running
configuration as the startup configuration or to save it as the file in
the file system.
If
flash
: [
PATH-FILE-NAME
] is specified as the
SOURCE-URL
, the
purpose is to specify the source file to be copied in the file system.
If
log
is specified as the
SOURCE-URL
, the system log can be
retrieved to the TFTP server.
If
image1/image2
is specified as the
SOURCE-URL
, the purpose
is to upload boot up image to tftp server.
DESTINATION-URL
Specifies the destination URL for the copied file. One special form
of the URL is represented by the following keywords.
If
running-config
is specified as the
DESTINATION-URL
, the
purpose is to apply a configuration to the running configuration.
If
startup-config
is specified as the
DESTINATION-URL
, the
purpose is to save a configuration to the next-boot configuration.
If
flash
: [
PATH-FILE-NAME
] is specified as the
DESTINATION-
URL
, the purpose is to specify the copied file in the file system.
If
image1/image2
is specified as the
DESTINATION- URL
, the
purpose is to store the file as boot up image1/image2.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to copy a file to another file in the file system. Use this command to download or upload the
configuration file or the image file. Use this command to upload the system log to the TFTP server. To upload
the running configuration or save the running configuration to the startup configuration, specify
running-config
as the
SOURCE-URL
. To save the running configuration to the startup configuration, specify
startup-config
as
the
DESTINATION-URL
.
To apply a configuration file to the running configuration, specify
running-config
as the
DESTINATION-URL
for the
copy
command and the configuration file will be executed immediately. That means the running
configuration will be cleared before applying of the specified configuration.
As the specified source is the system log and the specified destination is a URL, the current system log will be
copied to the specified URL.
To represent a file in the remote TFTP server, the URL must be prefixed with “tftp: //”.
To download the firmware image, the user should use the
copy tftp:
// command to download the file from the
TFTP server to a file(image1 or image2) in the file system. Then, use the boot image command to specify it as
the
boot image
file.
Example
This example shows how to configure the Switch’s running configuration by using the configuration called
“office.cfg” that is download from the TFTP server 10.10.1.141.
Switch# copy tftp://10.10.1.141/office.cfg running-config
% Loading /office.cfg from TFTP server 10.10.1.141
Switch#
This example shows how to upload the running configuration to the TFTP server for storage.
Switch# copy running-config tftp://10.10.1.141/office.cfg