472CHAPTER 18: FILE MANAGEMENT COMMANDS

 

Examples — The following commands back up the configuration file on

 

an WX switch, reset the switch to its factory default configuration, and

 

reboot the switch:

 

WX4400# copy configuration tftp://10.1.1.1/backupcfg

 

success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]

 

WX4400# clear boot config

 

success: Reset boot config to factory defaults.

 

WX4400# reset system force

 

...... rebooting

 

See Also

 

„ display config on page 478

 

„ reset system on page 485

 

 

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-url— Name 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

Page 472
Image 472
3Com 3CRWX440095A, 3CRWX120695A manual Copy, „ reset system on