Administrator Guide

46 Flow Vision Administrator’s Guide
53-1002999-01
Flow Mirror management
4
Figure 10 provides a diagram of a mirrored flow with the ingrPort mirroring the traffic flow to the
CPU. Flow Mirror can also 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), you must use
the -bidir option.
FIGURE 10 A flow being mirrored to the CPU
Flow Mirror management
The following sections describe how to work with Flow Mirror.
Creating Flow Mirror flows
To create a Flow Mirror flow, enter the flow --create flowname -feature mirror parameters
command using the parameters described in Table 7. Figure 1 on page 2 illustrates how the frame
and port parameters apply to a flow.
Table 7 shows the supported Flow Mirror flow parameter combinations.
Parameter usage exceptions
The frametype and -bidir parameters cannot be specified together for a Flow Mirror flow.
TABLE 7 Flow Mirror supported flow parameter combinations
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; for an ingress port, this may be a SIM-Port
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.
-noactivate Adding this keyword creates the flow without activating it.
-noconfig Adding this keyword creates the flow without saving the flow to the configuration.