Chapter 3 Troubleshooting the Fibre Channel Links 27
For Internal Use Only
CODE EXAMPLE 3-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 HBA connection. This is
done both in the Storage Automated Diagnostic Environment GUI and from the
command-line interface (CLI).
# ./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"