Managing the Switch Using TFTP

Test the Switch File Transfer Process: (16-Port Switch Only)

The file named test on the Switch can be used to test TFTP file transfers. This file is not used by any processes on the Switch, and can be read or written in either binary or text mode.

To test TFTP file transfers to the Switch:

1.Connect to the Switch using TFTP.

2.Select either binary or text file transfer mode.

3.Transfer any local file of the selected type into the Switch file named test .

4.Retrieve the Switch file named test again under a different local file name.

5.Compare the two files.

If both file transfers complete successfully, the two local files will be identical.

For example, if you are sending the local file named testfile1 in binary mode, then your TFTP session may look like this if you are using a Unix management station:

#tftp

(Start TFTP)

tftp> connect 10.0.0.1

(Connect to the Switch using TFTP)

tftp> text

(Select text file transfer mode)

text mode

 

tftp> put testfile1 test

(Transfer the file to the Switch)

transferred 100000 bytes in 39.6 seconds.

tftp> get test testfile2

(Retrieve the file fro the Switch)

transferred 100000 bytes in 9.1 seconds.

tftp> quit

 

#diff testfile1 testfile2

(Compare the files)

#

 

3-46Switch Management

GigWorks MkII-16 Switch Model MKII-BASE16

59003-01 Rev. A

Installer's/User's Manual

Page 86
Image 86
Q-Logic MKII-BASE16 user manual Transfer the file to the Switch