Administrator Guide

32 Flow Vision Administrator’s Guide
53-1002999-01
Flow Generator management
3
Flow Generator flows are defined using a combination of the source device (srcdev), destination
device (dstdev), ingress port (ingrport), and egress port (egrport) parameters.All of these must be
SIM-Ports. The source device is the origination point of the test traffic. The destination device is the
destination of the test traffic; for Flow Generator flows it may be remote from the switch. The port
that transmits the simulation traffic must be a 16 Gbps-capable Fibre Channel port. The port that
receives the simulated traffic can be either an 8 Gbps- or a 16 Gbps-capable Fibre Channel port.
Figure 7 illustrates this concept.
FIGURE 7 A Flow Generator flow structure
Flow Generator offers several flow control options that you can configure, including the ability to
specify both the frame size and the frame payload pattern. Header parameters and other control
parameters can also be added as part of the definition. The 0XID value for frames is random and
cannot be specified.
Flow Generator management
The following sections describe how to work with the Flow Generator flows.
Creating Flow Generator flows
To create a Flow Generator flow, enter the flow --create flowname -feature generator parameters
command using the parameters described in Table 6.
Table 6 shows the supported Flow Generator flow parameter combinations.
TABLE 6 Flow Generator supported flow parameter combinations
Parameter Field name Description
Port ingrport
egrport
One field only must be specified
Values must be explicit
Must be a SIM-Port local to the switch for a flow to generate traffic
Frame srcdev
dstdev
At least one field must be specified
Values for srcdev and dstdev can be explicit or “*” (“*indicates learned flows)
Must be a SIM-Port PID for a flow to generate traffic
The parameters “lun” and “frametype” are not supported
Optional keyword parameters
-bidir Not supported directly. To emulate this function you must create two flows (one in each
direction).
-noactivate Adding this keyword creates the flow without activating it.
-noconfig Adding this keyword creates the flow without saving the flow to the configuration.