CODE EXAMPLE 3-3switchtest(1M) called with options

#./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"

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).

Chapter 3 Troubleshooting the Fibre Channel Links 27

For Internal Use Only

Page 43
Image 43
Sun Microsystems 3900 Series Code Example 3-3switchtest1M called with options, # ./switchtest -v -o dev=2192.168.0.300