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

Fabric OS 5.0.0 command reference guide 497
Operands
This command has the following operands:
Examples
To run a functional test on an active switch:
See also
crossPortTest
fportTest
loopPortTest
portLoopbackTest
portTestShow
spinFab
stopPortTest
-ports itemlist Specify a list of user ports to test. By default, all the user ports
in the current slot is assumed. You can set the current slot by
issuing setslot command. Refer to itemList help pages for
further details.
-iteration count Specify the number of times (or number of frames per port) to
execute this test. Default value is 20. Valid values are:
0 Run the test on timeout mode.
-1 Run indefinitely.
-userdelay time Specify the delay between frames sent by portTest, in
minutes. The default value is 10 minutes.
-timeout time Specify the number of seconds to run the test. Setting the
iteration to 0 will set the portTest into timeout mode. The
default value is 0.
pattern Specify the pattern of the test packets payload. Default pattern
type is RANDOM. Twenty types of predefined patterns are
provided with the test. Use the dataTypeShow command to
view the types of pattern that are supported with portTest.
-patsize size Specify the size of the pattern. Default size of the pattern is
1024 bytes. Valid range of values are 4 bytes through 2112
bytes.
-seed seed Specify the seed pattern to be used with pattern. Default seed
value is 0xaa.
-listtype porttype Specify the type of ports to run portTest. The following
values are predefined for porttype:
-1 All ports
-2 All L_Ports
-3 All F_Ports
-4 All E_Ports
-5 All Loopback ports
The default value is -1
switch:admin> porttest -ports 1/1-1/3