Legacy use case monitoring, Creating an end-to-end monitor equivalent, Creating a frame monitor equivalent – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 55

Legacy use case monitoring
You can create monitoring flows in Flow Vision that provide similar functionality to those available
through Advanced Performance Monitor (APM). The following examples cover creating Flow Monitor
equivalents for an end-to-end monitor, a frame monitor, and an ingress or egress Top Talker monitor.
Creating an end-to-end monitor equivalent
You can use the -bidir keyword with the flow command to create the equivalent to an end-to-end
monitor.
The following example creates a bidirectional Flow Monitor flow between device 02d8c0 and device
023a00 egressing port 4/10 of the switch on which the command is running.
switch:admin> flow --create e2eflow -feature monitor -egrport 4/10 -dstdev 023a00 -srcdev 02d8c0 -bidir
switch:admin> flow --show e2eflow
=========================================================================
Name : e2eflow Features: mon(Activated) noConfig: Off
Definition: EgrPort(4/10),SrcDev(0x02d8c0),DstDev(0x023a00),BiDir
Flow Monitor (Activated):
Monitor time: | Fri Aug 30 22:52:35 UTC 2013 |
-------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
| Frame Count | Frames Per Sec. | Byte count | Throughput(Bps) |Frame |
Size(Bytes)|
| Tx / Rx / Total | Tx / Rx / Total | Tx / Rx / Total | Tx / Rx / Total| Tx / Rx |
-------------------------------------------------------------------------------------------------------
|65.11M/129.63M/194.75M|962.52k/653.84k/1.61M|99.49G/185.44G/284.93G|958.32M/957.77M/1.87G|1632 /1528 |
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
| I/O Count | I/O Per Sec.(IOPS) | I/O bytes Transferred | I/O bytes Per Sec. |
| Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total | Reads / Writes/ Total |
-------------------------------------------------------------------------------------------------------
| 3.19M/ 24.14M/ 27.33M | 481.13k/481.13k/962.27k | 176.56G/ 1.30T/ 1.47T | 2.61G/ 2.61G/ 1.22G |
-------------------------------------------------------------------------------------------------------
===================================================================================================
Creating a frame monitor equivalent
You can use the -frametype parameter as part of the flow command to create the equivalent to an
APM monitor created using the fmmonitor command.
The following example creates a Flow Monitor flow that counts SCSI Read-Write (scsirw) frames
egressing port 2 of the switch on which the command is running.
switch:admin> flow --create scsirw -fe mon -egrport 2 -frametype scsirw
Monitor feature(s) have been activated.
switch:admin> flow --show
------------------------------------------------------------------------------------------------------
Flow Name | Feature | SrcDev | DstDev |IngrPt|EgrPt|BiDir| LUN | FrameType |
------------------------------------------------------------------------------------------------------
f1 |mon |030300 |030400 |3 |- |no |0 |- |
lrn0 |mon+ |* |* |0 |- |no |- |- |
lrn89 |mon+ |* |* |89 |- |no |- |- |
scsirw |mon+ |- |- |- |2 |no |- |srdwr |
------------------------------------------------------------------------------------------------------
switch:admin> flow --show scsirw
===========================================================================
Name : scsirw Features: mon(Activated) noConfig: Off
Definition: EgrPort(2),FrameType(srdwr)
Flow Monitor (Activated):
Monitor time: | Fri Aug 30 23:31:04 UTC 2013 |
---------------------------------------------------------
-----------------------------------------
| Tx Frames Count | Tx Frames per Sec. |
-----------------------------------------
Legacy use case monitoring
Flow Vision Administrators Guide
55
53-1003168-01