Reference Guide
Brocade Fabric OS Command Reference 911
53-1004112-02
portTest
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 restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "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.
-4
All E_Ports.