HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

224 Fabric OS commands
Functional test of F->N, N->F point-to-point path.
Synopsis
fporttest [-nframes count][-ports itemlist][-seed payload_pattern][-width
pattern_width][-size pattern_size]
Availability
admin
Description
Use this command to verify the functional operation of the switch by sending ELS ECHO frames from the
switch F_Port transmitter and receiving ELS ECHO ACC from the N_Port device into the F_Port receiver.
This exercises all the switch components, from the main board, to the SFP, to the fiber cable, to the SFPs (of
the N_Port devices and the switch F_Port), and back to the main board.
The cables and SFPs connected should be of the same technology; that is, a short wavelength SFP (switch)
port is connected to another short wavelength SFP (device) port using a short wavelength cable, a long
wavelength port is connected to a long wavelength port; and a copper port is connected to a copper
port.
Only one frame is transmitted and received at any one time. The port LEDs rapidly flicker green while the
test is running.
The test method is as follows:
1. Determine which ports are F_Ports.
2. Create an ELS_ECHO frame with payload size, data pattern build in or payload size, data pattern.
3. Transmit frame F through the F_Port, with D_ID, to the N_Port device.
4. Wait for the N_Port device to respond ECHO ACC.
5. Compare ECHO data transmitted to ECHO data received.
6. Repeat steps 3 through 5 for all ports present until either the number of frames requested is reached, or
all ports are marked bad.
You can specify a payload pattern to be used when executing this test. If the pattern is not user specified,
then at every 30 pass, a different data type from a palette of seven is used to generate a different data
pattern to create the frame. The data pattern is generated based on data type. Some data types might
generate a different data pattern on every pass; other data types might not change the data pattern in
every pass. These seven data types are repeated every 210 pass. The data palette is as follows:
CSPAT(0): 0x7e, 0x7e, 0x7e, 0x7e, ...
BYTE_LFSR(1): 0x69, 0x01, 0x02, 0x05, ...
CHALF_SQ(2): 0x4a, 0x4a, 0x4a, 0x4a, ...
QUAD_NOT(3): 0x00, 0xff, 0x00, 0xff, ...
CQTR_SQ(4): 0x78, 0x78, 0x78, 0x78, ...
CRPAT(5): 0xbc, 0xbc, 0x23, 0x47, ...
RANDOM(6): 0x25, 0x7f, 0x6e, 0x9a, ...
fportTest