Owners manual
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
609
Before using the configure replace command, save a backup of the configuration using the copy
command or upload the configuration profile to the TFTP server.
Example
This example shows how to download the “config.cfg” from the TFTP server and replace the current
running configuration with it.
Switch# configure replace tftp: //10.0.0.66/config.cfg
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. [y/n]: y
Accessing tftp://10.0.0.66/config.cfg...
Transmission start...
Transmission finished, file length 45422 bytes.
Executing script file config.cfg ......
Executing done
Switch#
This example shows how to replace the current running configuration with the specified configuration file
“config.cfg” stored in the NVRAM of the device. Execute the command immediately without confirmation.
Switch# configure replace flash: config.cfg force
Executing script file config.cfg ......
Executing done
Switch#
66-6 copy
This command is used to copy a file to another file.
copy SOURCE-URL DESTINATION-URL
copy SOURCE-URL tftp: [//LOCATION/DESTINATION-URL]
copy tftp: [//LOCATION/SOURCE-URL] DESTINATION-URL
Parameters
SOURCE-URL
Specifies the source URL for the source file to be copied. One special
form of the URL is represented by the following keywords.
If startup-config is specified as the SOURCE-URL, the purpose is to
upload the startup configuration, save the startup configuration as the
file in the file system, or to execute the startup configuration as the
running configuration.
If running-config is specified as the SOURCE-URL, the purpose is to
upload the running configuration or save the running configuration as