Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

2-534 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
portTest
2
Note: Enter commands in lowercase only; mixed case is for readability.
-iteration count Specify the number of times (or number of frames per port) to execute this test.
Default value is 20. Valid values include:
0 Run the test on timeout mode.
-1 Run indefinitely.
-userdelay time Specify the delay between frames sent by portTest, in milliseconds. The default
value is 10 milliseconds.
-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 pattern Specify the pattern of the test packets payload. 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. dataTypeShow displays the
pattern name, the pattern number to use with this option, and an example of this
pattern. The default pattern type, if no pattern number is specified, is RANDOM
(type=11)
-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 (default).
-2 All L_Ports.
-3 All F_Ports.
-4 All E_Ports.
-5 All N->N loopback ports.
Examples To run a functional test on an active switch:
See Also crossPortTest, fportTest, loopPortTest, portLoopbackTest, portTestShow, spinFab, stopPortTest
switch:admin> porttest -ports 1/1-1/3