D-Link DGS-510 Reference Manual page 647

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
LOCATION
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.
As the destination is the startup configuration, the source file is directly copied to the file specified in
the boot config command. Thus the original startup configuration file will be overwritten.
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 by
using the increment method. That means that the specified configuration will merge with the current
running configuration. The running configuration will not 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 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 increment
method using the configuration called "switch-config.cfg" that is download from the TFTP server
10.1.1.254.
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.
That is to keep the current configuration into the NVRAM and the
file name will be the same as the file name specified with the boot
config command.
If flash: [PATH-FILE-NAME] is specified as the DESTINATION-
URL, the purpose is to specify the copied file in the file system. If
the input relative path is specified, the file will be downloaded to all
units in stack and stored in the current path of each unit. If the input
absolute path is specified, the file will be downloaded to the place
which of the absolute path indicates. If there is no unit information in
the absolute path, the master unit will be assigned.
(Optional) Specifies the IPv4 address or IPv6 address of the TFTP
server.
644

Advertisement

Table of Contents
loading

Table of Contents