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

Page 445

Advertising
background image

Fabric OS Command Reference

415

53-1003131-01

flow

2

-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

Clearing feature data

SYNOPSIS

flow --reset flow_name -feature feature_list

DESCRIPTION

Use this command to clear the data of the specified flow and feature combination. All the data collected
for the flow and feature combination will be cleared.

OPERANDS

The --reset command has the following operands:

flow_name

Specifies the name of the flow on which the feature data must be cleared. Specify
"all" to reset all flows.

feature_list

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

EXAMPLES

To clear all the mirrored frames for a flow:

switch:admin> flow --reset myflow1 -feature mirror

FUNCTION

Displaying flow data

SYNOPSIS

flow --show [flow_name] [-feature feature_list]
[port_options frame_options]
[-count iterations | -time interval | -verbose]
[-sortby field] [-ctrlcfg]

Advertising