beautypg.com

Sun proprietary/confidential: internal use only – Sun Microsystems 6900 User Manual

Page 67

background image

Chapter 5

Troubleshooting the Fibre Channel (FC) Links

47

Sun Proprietary/Confidential: Internal Use Only

CODE EXAMPLE 5-3

switchtest

(1M) Called With Options

Note –

The Storage Automated Diagnostic Environment automatically resets the

transfer size if it notes that it is about to test a switch to the HBA connection. This is
done both in the Storage Automated Diagnostic Environment GUI and from the
command-line interface (CLI).

# /opt/SUNWstade/Diags/bin/switchtest -v -o "dev=2:192.168.0.30:0"

"switchtest: called with options: dev=2:192.168.0.30:0"

"switchtest: Started."

"Testing port: 2"

"Using ip_addr: 192.168.0.30, fcaddr: 0x0 to access this port."

"Chassis Status for Device: Switch Power: OK Temp: OK 23.0c Fan 1: OK

Fan 2: OK "

02/06/02 15:09:45 diag Storage Automated Diagnostic Environment MSGID 4001

switchtest.WARNING

switch0: "Maximum transfer size for a FABRIC port is 200. Changing

transfer size 2000 to 200"

"Testing Device: Switch Port: 2 Pattern: 0x7e7e7e7e"

"Testing Device: Switch Port: 2 Pattern: 0x1e1e1e1e"

This manual is related to the following products: