beautypg.com

3Com WX4400 3CRWX440095A User Manual

Page 605

background image

Working with Files

605

The tftp://ip-addr/filename URL 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 refers to a file in temporary storage. You can copy
a file out of temporary storage but you cannot copy 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:/filename

You must specify the boot partition that was not used to load the
currently running image.

The maximum supported file size for TFTP is 32 MB.

You can copy a file from a WX switch to a TFTP server or from a TFTP
server to a WX switch, but you cannot use MSS to copy a file directly
from one TFTP server to another.

To copy the file floor2wx from nonvolatile storage to a TFTP server, type
the following command:

WX1200# copy floor2wx tftp://10.1.1.1/floor2wx
success: 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, type the following command:

WX1200# copy floor2wx tftp://10.1.1.1/floor2wx-backup
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]

To copy a file named newconfig from a TFTP server to nonvolatile storage,
type the following command:

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