Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 442

Advertising
background image

412

Fabric OS Command Reference

53-1003131-01

flow

2

EXAMPLES

To create a flow on ingress port (1/10) for traffic from the source device (0x020a00) to the destination
device (0x030000) and activate the flow for the Flow Mirror and Flow Monitor features:

switch:admin> flow --create myflow1 -feature mirror,monitor

-ingrport 1/10 -srcdev 0x020a00 -dstdev 0x030000

To create a flow to monitor SCSI frames going through an egress port:

switch:admin> flow --create scsicsflow -feature monitor

-egrport 1/9 -frametype scsicheckstatus

To create a flow to monitor statistics from a particular source to destination on a specified LUN:

switch:admin> flow --create lunflow -feature monitor

-srcdev 0x010502 -dstdev 0x030700 -ingrport 1/5 -lun 4

To create a flow from source device (0x010203) to destination device(0x020304) for Flow Generator
feature without saving the flow:

switch:admin> flow --create myflow2 -feature generator

-srcdev 0x010203 -dstdev 0x020304 -ingrport 2/3 -noconfig

To create a flow from source device (0x01ba00) to destination device(0x01c000) for Flow Generator
feature without activating the flow:

switch:admin> flow --create myflow3 -feature generator

-srcdev 0x01ba00 -dstdev 0x01c000 -ingrport 2/18 -noactivate

To create a flow to monitor bidirectional traffic from a particular source to destination:

switch:admin> flow --create endtoendflow -feature monitor

-ingrport 2/5 -srcdev 010500 -dstdev 040900 -bidir

To create a flow to monitor traffic from source devices to destination devices in learning mode:

switch:admin> flow --create flowLearn -feature monitor

-ingrport 3/5 -srcdev "*" -dstdev "*"

To create a flow to mirror ingress and egress traffic flowing through a port to an embedded port:

switch:admin> flow --create myflow4 -feature mirror

-ingrport 1/20 -srcdev 0x010203 -lun 0x02 -bidir

To create a flow to generate traffic from the source device (0x020a00) to all destination devices that are
zoned with the source device:

switch:admin> flow --create myflow5 -feature generator

-ingrport 1/10 -srcdev 0x020a00 -dstdev "*"

FUNCTION

Activating features or flow

SYNOPSIS

flow --activate flow_name -feature feature_list

Advertising