Reference Guide
Brocade Fabric OS Command Reference 1041
53-1004112-02
spinFab
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:
-nmegs count
Specifies the number of frames to send in millions. The test progresses until the specified
number of frames has been transmitted on each port. The default value is 10 million frames.
This command only approximately counts the frames and the actual number of frames sent
will be slightly larger, particularly at link speeds of 4 Gbps or higher.
-framesize bytes
For internal use only. Not supported.
-ports itemlist
Specifies a list of user ports to test. By default, all of the ISL ports in the current switch are
tested. Refer to itemList for further details.
-setfail mode
Instructs spinFab how to mark failed ports. Valid values include the following:
0
Does not mark failing ports as FAILED (default). This option minimizes the impact on live
fabrics.
1
Marks the failing ports as FAILED. In test or qualification environments without live traffic,
this may be useful with large values of -nmegs count. This mode is disabled by default.
-fports flag
Instructs spinFab to include or exclude F_Ports in the testing. This feature is disabled by
default. If enabled, spinFab tests the F_Ports connected to Brocade-branded HBAs along
with other valid ports (E-ports & Loopback ports). The HBA must be running firmware v2.1.1
or higher. Valid flag values include the following:
0
Does not include F_Ports in the port list for testing (default).
1
Includes F_Ports in the port list for testing.
-nframes number
Determines how many frames will be sent by spinfab on the link to spin. Default is 2. The
maximum number is 5. If you want to configure more than 5 use -nframes 0.
-pattern number/name
Forces spinfab to use a particular data pattern for the frames it spins between ports. The
pattern can be a user defined pattern or is selected from a set of twenty five predefined
pattern types. Use the datatypeshow command to view the predefined patterns supported
with spinfab. For each pattern, the datatypeshow command displays the name, the pattern
type number, and an example. Specify the pattern by its name after the -pattern option. If
pattern is not specified, it defaults to jCRPAT (type=17). To use a user defined pattern, follow
the -pattern option with a 32 bit hexadecimal number.