Integrating flow generator with flow monitor – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 69

The following example creates the flow as shown in the figure above. SIM port 1/1 is the source port
and SIM port 1/2 is the destination device. The flow --show flowCase1 -feature generator
command displays the SID frame count and then the DID frame count.
switch:admin> flow --control -simport 1/1 -enable
switch:admin> flow --control -simport 1/2 -enable
switch:admin> flow --create flowcase1 -feature generator -ingrport 1/1 -srcdev 0x040100 -dstdev
0x050200
switch:admin> flow --show flowCase1 -feature generator
Name: flowcase1 Features: gen(Activated) noConfig: Off
Definition: IngrPort(1/1),SrcDev(040100),DstDev(050200)
Flow Generator (Activated):
-----------------------
| SrcDev | DstDev |
-----------------------
| 0x040100 | 0x050200 |
-----------------------
Number of frames generated from ingrport: 19.46M
switch:admin> flow --show -ctrlcfg
SimPort Information
-------|------|--------|-------------------------|--------------------|------------------|
Slot | Port | PID | PWWN | SID Frame Count | DID Frame Count |
-------|------|--------|-------------------------|--------------------|------------------
1 | 2 | 050200 | 20:02:00:05:1e:e2:8e:00 | 0K | 19480K |
-------|------|--------|-------------------------|--------------------|------------------|
Addressing mode information
Port Addressing Mode: index
Device Addressing Mode: PID
Flow Generator Information
Size: 2048
Pattern: Random (Default)
Flow mirror Information
enable_wrap
Integrating Flow Generator with Flow Monitor
Flow Generator flows can be monitored using Flow Monitor. For example, you can use a combination of
Flow Generator flows and Flow Monitor flows to verify per-flow throughput at an ingress or egress port.
This can be useful when more than one Flow Generator flow shares the same ingress or egress port.
To do this, you must create a flow using both the Flow Generator feature and the Flow Monitor feature
that share the ingress or egress port.
The following example illustrates a flow that uses both the Flow Generator and Flow Monitor features. In
this example, they share an ingress port.
switch:admin> flow --create flowCase3Source -feature generator,monitor -ingrPort 1/1 -srcDev 0x010100 -
dstDev "*"
switch:admin> flow --show flowCase3Source -feature generator,monitor
Name: flowCase3Source Features: gen(Activated),sts(Activated)
Definition: IngrPort(1/1),SrcDev(010100),DstDev(*)
Flow Generator (Activated):
-----------------------
| SrcDev | DstDev |
-----------------------
| 0x010100 | 0x010000 |
-----------------------
| 0x010100 | 0x015000 |
-----------------------
| 0x010100 | 0x015100 |
-----------------------
Number of frames generated from IngrPort : 1.63G
Flow Monitor (Activated):
----------------------------------------------------------------------------------------------------
|DID(*)| Rx Frames Count | Rx Frames per Sec. | Rx Bytes Count | Rx Throughput(Bps) | Avg Rx Frm Sz|
(Bytes) |
Integrating Flow Generator with Flow Monitor
Flow Vision Administrators Guide
69
53-1003168-01