Viewing flow generator flows, This flow, refer to – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 66

Viewing Flow Generator flows
To display Flow Generator flows, enter flow --show flowname -feature generator. For root and static
flows, this command shows the Source ID-Destination ID pairs and the cumulative frame count on the
ingress or egress port specified in the flow definition.
Displaying the status of a single Flow Generator flow
The following example displays the status of the Flow Generator flow named “f2”.
switch:admin> flow --show f2 -feature generator
=================================================================================
Name : f2 Features: gen(Active) noConfig: Off
Definition: IngrPort(1/9),SrcDev(0x010900),DstDev(0x01c100)
Flow Generator (Activated):
-----------------------
| SrcDev | DstDev |
-----------------------
| 0x010900 | 0x01c100 |
-----------------------
Number of frames generated from IngrPort : 595.41M
Note: More than 1 flow active on this port.
=================================================================================
Viewing the output of a learned Flow Generator flow
To view the output of a learned Flow Generator flow, enter flow --show flow_name -feature
generator.
When you view the output of a learned flow, the Name line displays the flow name and flow features
with their respective states. The Definition line displays the port of interest and the device. In the table
under Flow Generator, each row is an individual sub-flow, and the column shows the individual device
IDs. The last line displays the number of frames (in units of 1000 (K), 1,000,000 (M), or 1,000,000,000
(G)) that have passed through that port measured from the time the port became active.
The following example shows the output of the Flow Generator flow named "fgflow12":
switch:admin>flow --show fgflow12 -feature generator
Name : fgflow12 Features: gen(Active) noConfig: Off
Definition: IngrPort(4),DstDev(*)
Flow Generator (Activated):
-----------------------
| SrcDev | DstDev |
-----------------------
| 0x204000 | 0x040700 |
-----------------------
| 0x204000 | 0x040800 |
-----------------------
| 0x204000 | 0x050900 |
-----------------------
| 0x204000 | 0x051000 |
-----------------------
Number of frames generated from IngrPort : 82.21M
Notes on displaying the status of a Flow Generator flow
• If you want to see the per-flow frame count on a port with multiple flows, you must include the flow
monitoring feature in the flow definition (flow --create flow_name -feature generator,monitor).
• Flow Generator will append a note at the bottom of the output if there is more than one static flow or
a learned flow active on the port.
Viewing Flow Generator flows
66
Flow Vision Administrators Guide
53-1003168-01