Creating flow mirror flows – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 76

A sample use case would be to mirror the traffic flow from a slow-draining F_Port to see what is
causing this condition.
Diagnosing a slow-draining F_Port
on page 86 provides an example of this
use case.
The following figure provides a diagram of a flow that mirrors to the CPU the traffic ingressing through
the ingrport. Flow Mirror can similarly mirror the egrport, but only one port (ingrport or egrport) can be
mirrored per flow. To mirror from one port in both flow directions (left to right and right to left in the
figure), the -bidir keyword must be used in the flow definition.
FIGURE 13 A flow being mirrored to the CPU
Creating Flow Mirror flows
To create a Flow Mirror flow, use the flow --create flow_name -feature mirror parameters command.
When you create a flow, it is automatically activated unless you use the -noactivate keyword as part
of the flow --create command. Refer to
Creating an inactive flow in Flow Mirror
on page 80 for an
example.
on page 17 illustrates how the frame and port parameters apply to a flow. The following table
shows the supported Flow Mirror flow parameter combinations.
Flow Mirror-supported flow parameter combinations
TABLE 11
Parameters Field names Description
Port
ingrport
egrport
• One field only must be specified.
• Values must be explicit.
• Can only be an F_Port local to the switch, a Gen 5 (16 Gbps) F_Port, or a Gen 5
F_Port trunk on the local domain.
Frame
srcdev
dstdev
lun
frametype
• Only one field can be specified.
• Values for srcdev and dstdev can be explicit or "*" ("*" indicates learned flows).
• Values for lun and frametype must be explicit.
Optional keyword parameters
-bidir
Adding this keyword makes the application mirror traffic in both directions.
Creating Flow Mirror flows
76
Flow Vision Administrators Guide
53-1003168-01