Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 985
![background image](/manuals/361661/985/background.png)
Fabric OS Command Reference
955
53-1003131-01
portTest
2
Use the stopPortTest command to stop the test. Refer to the stopPortTest help page for more
information.
Use the portTestShow command to view the current status of portTest. Refer to the portTestShow
help page for more information.
If there is a port type change during portTest execution, the test continues on a given port as long as it
can be supported and it is asked to do so. If a request was made to test all ports on a given switch,
portTest starts a new test appropriate for the new port type.
NOTES
The test is skipped if the F_Ports are connected to non-Brocade-branded devices. The test is also
skipped on F_Ports if Virtual Fabric is enabled on any platform.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS
This command has the following operands:
-ports itemlist
Specifies the list of user ports to test. By default, all user ports in the switch are
tested. Refer to the itemList help page for more information.
-iteration count
Specifies the number of times (or number of frames per port) to execute this test.
Specify 0 to run the test in timeout mode, or specify -1 to run the test indefinitely.
The default value is 20.
-userdelay time
Specifies the delay between frames sent by portTest, in milliseconds. The default
value is 10 milliseconds.
-timeout time
Specifies the number of seconds to run the test. The timeout option goes into
effect only if iteration is set to zero. The default value of timeout is 0.
-pattern pattern
Specifies the pattern of the test packet payload. The pattern is selected from the
set of the first twenty predefined pattern types. Use the dataTypeShow command
to view the patterns supported with portTest. For each pattern, the datTypeShow
command displays the name, the pattern type number, and an example. Specify
the pattern by its type number. If pattern is not specified, it defaults to RANDOM
(type=11).
-patsize size
Specifies the size of the pattern. The default pattern size is 1024 bytes. The range
is 4 to 2048 bytes.
-seed seed
Specifies the seed value to be used with the pattern. The default seed value is
0xaa.
-listtype porttype
Specifies the type of ports on which to run portTest. Valid values for porttype
include the following:
-1
All ports (default).
-2
All L_Ports.
-3
All F_Ports.