beautypg.com

Learning in flow mirror flows – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 83

background image

Flow Mirror (Activated):

--------------------------------------------------------------------------------------

| OXID | RXID | SOF | EOF | Frame_type | LUN(*) | Dir | Time-Stamp |

--------------------------------------------------------------------------------------

| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 09:45:47:100 |

| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 09:45:47:100 |

| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 09:45:47:100 |

(output truncated)

| 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 09:45:51:109 |

| 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 09:45:51:109 |

--------------------------------------------------------------------------------------------

No of Mirrored Frames : 1280, No of RX Mirrored Frames : 640, No of TX Mirrored Frames : 640

--------------------------------------------------------------------------------------------

=======================================================================================================

(output truncated)

This example shows the result of mirroring the flow to a local port (LFM).

switch:admin> flow --show fmtime_lfm -feature mirror -time 6

=======================================================================================================

Name : fmtime_lfm Features: mir(Activated) noConfig: Off

Definition: EgrPort(15),SrcDev(0x010e00),DstDev(0x010f00),MirPort(16)

Flow Mirror (Activated):

--------------------------------------------------------------------------------------------

No of Mirrored Frames : 481442, No of RX Mirrored Frames : 0, No of TX Mirrored Frames : 481442

--------------------------------------------------------------------------------------------

=======================================================================================================

=======================================================================================================

Name : fmtime_lfm Features: mir(Activated) noConfig: Off

Definition: EgrPort(15),SrcDev(0x010e00),DstDev(0x010f00),MirPort(16)

Flow Mirror (Activated):

--------------------------------------------------------------------------------------------

No of Mirrored Frames : 716244, No of RX Mirrored Frames : 0, No of TX Mirrored Frames : 716244

--------------------------------------------------------------------------------------------

=======================================================================================================

=======================================================================================================

Name : fmtime_lfm Features: mir(Activated) noConfig: Off

Definition: EgrPort(15),SrcDev(0x010e00),DstDev(0x010f00),MirPort(16)

Flow Mirror (Activated):

--------------------------------------------------------------------------------------------

No of Mirrored Frames : 951046, No of RX Mirrored Frames : 0, No of TX Mirrored Frames : 951046

--------------------------------------------------------------------------------------------

=======================================================================================================

(output truncated)

Learning in Flow Mirror flows

Flow Mirror supports learning for both source and destination devices. To specify learning in a Flow
Mirror flow, identify the parameter to be learned by using an asterisk inside quotation marks ("*") for the
device identifier.

For a flow using learning, if the frame type is specified in the flow definition, the value for -frametype
must be a fixed value for the flow to work. Refer to

Flow frametype parameters

on page 19 for a list of

valid -frametype values.

The following example creates a Flow Mirror flow using the learning capability to mirror traffic from any
device to any device that is ingressing through port 1/20.

switch:admin> flow --create fmir_learn1-20 -feature mirror -ingrport 1/20 -srcdev "*"

-dstdev "*"

Learning in Flow Mirror flows

Flow Vision Administrators Guide

83

53-1003168-01