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

Page 443

Advertising
background image

Fabric OS Command Reference

413

53-1003131-01

flow

2

DESCRIPTION

Use this command to activate a flow if it is not in the active state or configure the specified features for a
flow. Use this command if you created a flow using the -noactivate operand or if none of the features are
activated for the flow. Note that the flows are not enforced until they are active and the flows cannot be
activated without configuring the features. If one or more of the flow parameters are not supported by any
specified feature, the flow will not be activated and the operation will fail with an appropriate error
message.

OPERANDS

The --activate command has the following operands:

flow_name

Specifies the name of the flow on which the specified features must be activated.
Specify "all" to activate the specified features for all flows.

feature_list

Specifies a comma-separated list of features to activate for a flow. Specify "all" to
activate all features for a flow. Valid values for feature_list include the following:
monitor, generator, and mirror.

EXAMPLES

To activate Flow Mirror feature for a flow:

switch:admin> flow --activate myflow2 -feature mirror

FUNCTION

Deactivating features

SYNOPSIS

flow --deactivate flow_name -feature feature_list

DESCRIPTION

Use this command to deactivate the specified features for a flow. All data associated with the deactivated
feature will be cleared.

OPERANDS

The --deactivate command has the following operands:

flow_name

Specifies the name of the flow on which the specified features must be
deactivated. Specify "all" to deactivate the specified features for all flows.

feature_list

Specifies a comma-separated list of features to deactivate for the flow. Specify
"all" to deactivate all features for a flow. Valid values for feature_list include the
following: monitor, generator, and mirror.

EXAMPLES

To deactivate the Flow Mirror feature for a flow:

switch:admin> flow --deactivate myflow2 -feature mirror

FUNCTION

Changing the control parameters

SYNOPSIS

flow --control [flow_name] [-feature feature_list]
[-deviceIdMode mode | -portIdMode mode]
[-simport port_num -enable | -disable]
[-size payload_size | -pattern pattern_string]
[-enable_wrap | -disable_wrap]

Advertising