D-Link DGS-3130 Emulator - Page 848
Example, Parameters
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 848 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide 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# 84-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 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 or saved as the file in the file system. 844
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/848.png)