Test a switches internal components, Test components to and from the hba, Test a switches – HP StorageWorks MSA 2.8 SAN Switch User Manual
Page 222: Internal components, Test, Components to and from the hba

Troubleshooting
222
Fabric OS Procedures Version 3.1.x/4.1.x User Guide
Example:
Test a Switches Internal Components
To use the
crossporttest command
to test a switch’s internal
components:
1. Log into the switch as admin.
2. Enter the
crossporttest -lb_mode 5
command.
Where
5
is the operand that causes the test to be run on the internal switch
components.
(This is a partial list. Refer to the HP StorageWorks Fabric OS Version
3.1.x/4.1.x Reference Guide for more information.)
Test Components To and From the HBA
1. Log into the switch as admin.
2. Enter the
fPortTest
command with the following operands (refer to the
HP StorageWorks Fabric OS Version 3.1.x/4.1.x Reference Guide for details).
[-spd_mode mode]
Select the speed mode for the test.
[-ports itemlist]
Specify a list of user ports to test.
switch:admin> crossporttest
Running Cross Port Test .... passed.
[-nframes count]
Specify the number of frames to send.
[-lb_mode mode]
Select the loopback point for the test.
[-spd_mode mode]
Select the speed mode for the test.
[-ports itemlist]
Specify a list of user ports to test.
[passCount]
Specify the number of times (or number of
frames per port) to execute this test (default is
infinite or until you click Enter).
[port_number]
Specify the port on which to run to test (F_Port
by default).
[payload_pattern]
Specify the pattern of the test packets payload.