Reference Guide

Brocade Fabric OS Command Reference 359
53-1004112-02
flow
The following operands are specific to the flow mirror feature. You can use these operands
only if the Flow Mirror feature is not activated for a flow. The flow name is not required for
enabling or disabling this option.
-enable_wrap
Enables the wrapping of mirrored frame logs. This is the default value. The Flow Mirror flow
must be deactivated before using this command. The statistics of the Flow Mirror flow are
reset during this operation.
-disable_wrap
Disables the wrapping of mirrored frame logs. The Flow Mirror flow must be deactivated
before using this command. The statistics of the Flow Mirror flow are reset during this
operation.
Examples To change the device addressing mode to WWN:
switch:admin> flow --control -deviceidmode wwn
To change the port addressing mode to index:
switch:admin> flow --control -portidmode index
To configure the ports from 1 to 40 in slot 1 as SIM port:
switch:admin> flow --control -simport 1/1-40 -enable
To remove the SIM port configuration on port 20 in slot 1:
switch:admin> flow --control -simport 1/20 -disable
To modify the size and pattern for a flow:
switch:admin> flow --control myflow2 -feature generator
-size 100 -pattern "1234"
To disable wrapping of frame logs for the Flow Mirror feature:
switch:admin> flow --control -feature mirror -disable_wrap
Function Modifying definition of Analytics vTap flow
Synopsis flow --modify flow_name port_options
Description Use this command to modify the existing flow definition of the predefined flow "sys_analytics_vtap" and specify
either a single port, a MAPS logical port group name, or a wildcard (*) as ingress port. You can also override the
default mirror port by using the --mirrorport port option.
Operands The --modify command has the following operands:
flow_name
Specifies the name of the Analytics vTap flow. Valid option is sys_analytics_vtap. The
sys_analytics_vtap flow is used to mirror frames to a port on a remote domain, which is in
IO Analyzer Mode. The flow can be modified only if it is in the deactive state.