copy 543

History —Introduced in MSS Version 3.0.

Usage — The filename and file:filename URLs are equivalent. You can use either URL to refer to a file in an WX switch’s nonvolatile memory. The tftp://ip-addr/filenameURL refers to a file on a TFTP server. If DNS is configured on the WX switch, you can specify a TFTP server’s hostname as an alternative to specifying the IP address.

The tmp:filename URL specifies a file in temporary storage. You can copy a file out of temporary storage but you cannot copy a file into temporary storage. Temporary storage is reserved for use by MSS.

If you are copying a system image file into nonvolatile storage, the filename must be preceded by the boot partition name, which can be boot0 or boot1. Enter the filename as boot0:/filename or boot1:/filename. You must specify the boot partition that was not used to load the currently running image.

Examples — The following command copies a file called floorwx from nonvolatile storage to a TFTP server:

WX4400# copy floorwx tftp://10.1.1.1/floorwx

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

The following command copies a file called closetwx from a TFTP server to nonvolatile storage:

WX4400# copy tftp://10.1.1.1/closetwx closetwx success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]

The following command copies system image WXA03001.Rel from a TFTP server to boot partition 1 in nonvolatile storage:

WX4400# copy tftp://10.1.1.107/WXA03001.Rel boot1:WXA03001.Rel

............................................................

................................................success:

received 9163214 bytes in 105.939 seconds [ 86495 byt es/sec]

The following commands rename test-configto new-configby copying it from one name to the other in the same location, then deleting test-config:

WX4400# copy test-config new-config