D-Link DGS-3630-52PC WEB Reference Guide - Page 149
Parameters
View all D-Link DGS-3630-52PC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 149 highlights
DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide This example shows how to download the "config.cfg" from the FTP server and replace the current running configuration with it. Execute the command immediately without confirmation. Switch# configure replace ftp: //User:[email protected]:80/config.cfg force Accessing ftp: //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# 19-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] | ftp: [//USERNAME:PASSWORD@LOCATION:TCP-PORT/DESTINATION-URL] | rcp: [//USERNAME@LOCATION/DESTINATION-URL] | sftp: [//LOCATION/DESTINATION-URL]} copy {tftp: [//LOCATION/SOURCE-URL] | ftp: [//USER-NAME:PASSWORD@LOCATION:TCPPORT/SOURCE-URL] | rcp: [//USER-NAME@LOCATION/SOURCE-URL] | sftp: [//LOCATION/SOURCEURL]} DESTINATION-URL Parameters SOURCE-URL DESTINATION-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. 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. That is to keep the current 147