Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 25

Repeating a Flow Mirror flow
The following example creates a bidirectional Flow Mirror flow named
“fmcount_cfm” that is mirrored to the CPU, and repeats the output three times:
switch:admin> flow --create fmcount_cfm -feature mirror -ingrport 10 -srcdev 010403 -dstdev 020504 -
bidir
switch:admin> flow --show fmcount_cfm -fea mir -count 3
=======================================================================================================
Name : fmcount_cfm Features: mir(Activated) noConfig: Off
Definition: IngrPort(14),SrcDev(0x010e00),DstDev(0x010f00),BiDir
Flow Mirror (Activated):
--------------------------------------------------------------------------------------
| OXID | RXID | SOF | EOF | Frame_type | LUN(*) | Dir | Time-Stamp |
--------------------------------------------------------------------------------------
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:27:100 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:27:100 |
(output truncated)
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:31:109 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:31:109 |
--------------------------------------------------------------------------------------------
No of Mirrored Frames : 1280, No of RX Mirrored Frames : 640, No of TX Mirrored Frames : 640
--------------------------------------------------------------------------------------------
=======================================================================================================
=======================================================================================================
Name : fmcount_cfm Features: mir(Activated) noConfig: Off
Definition: IngrPort(14),SrcDev(0x010e00),DstDev(0x010f00),BiDir
Flow Mirror (Activated):
--------------------------------------------------------------------------------------
| OXID | RXID | SOF | EOF | Frame_type | LUN(*) | Dir | Time-Stamp |
--------------------------------------------------------------------------------------
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:34:100 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:34:100 |
(output truncated)
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:38:109 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:38:109 |
--------------------------------------------------------------------------------------------
No of Mirrored Frames : 1280, No of RX Mirrored Frames : 640, No of TX Mirrored Frames : 640
--------------------------------------------------------------------------------------------
=======================================================================================================
=======================================================================================================
Name : fmcount_cfm Features: mir(Activated) noConfig: Off
Definition: IngrPort(14),SrcDev(0x010e00),DstDev(0x010f00),BiDir
Flow Mirror (Activated):
--------------------------------------------------------------------------------------
| OXID | RXID | SOF | EOF | Frame_type | LUN(*) | Dir | Time-Stamp |
--------------------------------------------------------------------------------------
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:40:100 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:40:100 |
(output truncated)
| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 07:54:44:109 |
| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 07:54:44:109 |
--------------------------------------------------------------------------------------------
No of Mirrored Frames : 1280, No of RX Mirrored Frames : 640, No of TX Mirrored Frames : 640
--------------------------------------------------------------------------------------------
=======================================================================================================
The following example creates a Flow Mirror flow named “fmcount_lfm” that is
mirrored to local port 16, and repeats the output five times:
switch:admin> flow --create fmcount_lfm -feature mirror -ingrport 14 -srcdev 010403 -dstdev 020504 -
mirrorport 16
switch:admin> flow --show fmcount_lfm -feature mirror -count 5
=======================================================================================================
Name : fmcount_lfm Features: mir(Activated) noConfig: Off
Definition: IngrPort(14),SrcDev(0x010e00),DstDev(0x010f00),MirPort(16)
Flow Mirror (Activated):
--------------------------------------------------------------------------------------------
No of Mirrored Frames : 1032316, No of RX Mirrored Frames : 1032316, No of TX Mirrored Frames : 0
--------------------------------------------------------------------------------------------
=======================================================================================================
Flow Vision
Flow Vision Administrators Guide
25
53-1003168-01