Examples: The following commands back up the configuration file on a switch, reset the switch to its factory default configuration, and reboot the switch:

DWS-1008# copy configuration tftp://10.1.1.1/backupcfg success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]

DWS-1008#clear boot config

success: Reset boot config to factory defaults.

DWS-1008#reset system force

...... rebooting ......

copy

Performs the following copy operations:

Copies a file from a TFTP server to nonvolatile storage.

Copies a file from nonvolatile storage or temporary storage to a TFTP server.

Copies a file from one area in nonvolatile storage to another.

Copies a file to a new filename in nonvolatile storage.

Syntax: copy source-url destination-url

source-url

Name and location of the file to copy. The uniform resource locator

 

(URL) can be one of the following:

 

• [subdirname/]filename

 

• file:[subdirname/]filename

 

tftp://ip-addr/[subdirname/]filename

 

• tmp:filename

For the filename, specify between 1 and 128 alphanumeric characters, with no spaces. Enter the IP address in dotted decimal notation. The subdirname/ option specifies a subdirectory.

destination-urlName of the copy and the location where to place the copy. The URL can be one of the following:

[subdirname/]filename

file:[subdirname/]filename

tftp://ip-addr/[subdirname/]filename

If you are copying a system image file into nonvolatile storage, the filename must include the boot partition name. You can specify one of the following:

boot0:/filename

boot1:/filename

Defaults: None.

Access: Enabled.

D-Link DWS-1008 CLI Manual

289

Page 292
Image 292
D-Link dws-1008 manual Copy, DWS-1008#clear boot config, DWS-1008#reset system force