Check – HP StorageWorks MSA 2.8 SAN Switch User Manual
Page 223

Troubleshooting
223
Fabric OS Procedures Version 3.1.x/4.1.x User Guide
The following example executed
fPortTest
100 times on port 8 with payload
pattern 0xaa55, pattern width 2 (meaning word width), and default payload size
512 bytes.
Example:
Check All Switch Components Between Main Board, SFP, and Fiber Cable
The following procedure exercises all the switch components from the main board
--> SFP --> fiber cable --> SFP on the device --> back to main board.
1. Make sure all connected cables and SFPs are of the same technology (that is a
short wavelength SFP switch port should be connected to another short
wavelength device SFP through a short wavelength cable).
2. Log into the switch as admin.
3. Determine which ports are L-Ports by entering the
switchshow
command.
4. Enable ports for loopback mode by entering
loopporttest
[--slot number] [-nframes count][-ports
itemlist][-seed payload_pattern][-width
pattern_width]
.
Refer to the HP StorageWorks Fabric OS Version 3.1.x/4.1.x Reference Guide
for more information about the operands.
5. Create a frame F of data size (1024) bytes.
6. Transmit frame F via port M, with D_ID to the FL port (AL_PA = 0).
7. Pick up the frame from port M, the FL port.
[pattern_width]
Specify the width of the pattern which the user
specified—it could be 1, 2, or 4 (which are byte,
word, or quad).
[pattern_size]
Specify the number of words in test packet
payload (default is 512).
switchname:admin> fPortTest 100,8,0xaa55,2, 512
Will use pattern: aa55 aa55 aa55 aa55 aa55 aa55 ...
Running fPortTest ........
port 8 test passed.
value = 0