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

Page 444

Advertising
background image

414

Fabric OS Command Reference

53-1003131-01

flow

2

DESCRIPTION

Use this command to modify the port or device addressing mode and to change the control parameters
of a flow or features.

OPERANDS

The --control command has the following operands:

flow_name

Specifies the flow name. Specify "all" to modify the control parameters for all
flows. If a flow name is not specified, the default values of the control parameters,
-size and -pattern will be modified; the flows which are already present does not
intake the modified control parameters. The modified control parameters will apply
to all flows created in future.

-feature feature_list

Specifies a comma-separated list of features on which the control parameters
should be applied. Valid values for feature_list include the following: generator
and mirror.

-deviceIdMode mode

Specifies the mode for addressing the devices. The valid values for mode are pid
and wwn. The default mode is pid.

-portIdMode mode

Specifies the mode for addressing the ports. The valid values for mode are
slotport and index. The default mode is slotport.

-simport port

Enables or disables a port as a SIM port. The port can be in [slot/]port or D,I
format depending on the port ID mode configured using the -portIdMode
operand. You can specify a single port or a range of ports in slot/port,
slot/port-port, slot/* (all ports in slot), */* (all ports in switch or logical switch), port,
port-port, and * (all ports in switch or logical switch) formats. The flow name is not
required for enabling or disabling a port as SIM port.

-enable

Enables the port as a SIM port.

-disable

Disables the SIM port configuration on the port.

The following operands are specific to the flow generator feature:

-size payload_size

Specifies the size of the frame payload. The frame size must be specified in
multiples of 4, for example, 64, 68, 120, or 320 characters. The valid range is from
64 through 2048 characters; 0 for random size. The default payload size is 2048
bytes.

-pattern pattern_string

Specifies the ASCII pattern of the payload. The valid range is from 1 through 32
bytes; 0 for random pattern. The default is random pattern.

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.

Advertising