522 Managing System Files320657-ACopying a FileYou can perform the following copy operations:• Copy a file from a TFTP server to nonvolatile storage.• Copy a file from nonvolatile storage or temporary storage to a TFTP server.• Copy a file from one area in nonvolatile storage to another.• Copy a file to a new filename in nonvolatile storage.To copy a file, use the following command.copy source-url destination-urlA URL can be one of the following:• [subdirname/]filename• file:[subdirname/]filename• tftp://ip-addr/[subdirname/]filename• tmp:filenameThe filename and file:filename URLs are equivalent. You can use either URL to refer to a file in an WSS switch’snonvolatile memory.The tftp://ip-addr/filename URL refers to a file on a TFTP server. If DNS is configured on the WSS switch, you canspecify a TFTP server’s hostname as an alternative to specifying the IP address.The tmp:filename URL refers to a file in temporary storage. You can copy a file out of temporary storage but you cannotcopy a file into temporary storage.The subdirname/ option specifies a subdirectory.If you are copying a system image file into nonvolatile storage, the destination-url must include the boot partition name.You can specify one of the following:• boot0:/filename• boot1:/filenameYou must specify the boot partition that was not used to load the currently running image.To copy the file floor2WSS from nonvolatile storage to a TFTP server, type the following command:23x0# copy floor2WSS tftp://10.1.1.1/floor2WSSsuccess: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]The above command copies the file to the same filename on the TFTP server. To rename the file when copying it, typethe following command:23x0# copy floor2WSS tftp://10.1.1.1/floor2WSS-backupsuccess: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]Note. You can copy a file from an WSS switch to a TFTP server or from a TFTP serverto an WSS switch, but you cannot use WSS Software to copy a file directly from one TFTPserver to another.