beautypg.com

Frame payload pattern, Flow generator examples, Destination id – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 68

background image

Frame payload pattern

Flow Generator allows you to define the pattern to be used as the frame payload. The frame payload
pattern must be an alphanumeric ASCII string between 1 and 32 characters in length. The default
frame payload pattern value is 0, which produces a random pattern of alphanumeric ASCII characters
with a variable string length between 1 and 32 characters.

There are two ways to change a frame payload pattern; you can change the default payload pattern,
or you can change the payload pattern for a single flow.

To see the current generic payload pattern, enter flow --show -ctrlcfg; to see the payload pattern for
a specific flow, enter flow --show flow_name -ctrlcfg.

Changing the default frame payload pattern

Assigning a frame payload pattern without defining a flow creates a default that applies to all
subsequently-created flows. The following example sets the default payload pattern for all new flows to
“TestFlow”.

switch:admin> flow --control -feature generator -pattern "TestFlow"

Changing the frame payload pattern for a specific flow

Explicitly assigning a frame payload pattern to a flow overrides the existing frame payload pattern for
that flow, and affects only that flow. Changing a payload pattern can only be done to an inactive flow.
The following example sets the default payload pattern for the flow F2 to “a5a5a5”.

switch:admin> flow --control F2 -feature generator -pattern "a5a5a5"

Flow Generator examples

The following examples describe how to work with Flow Generator flows.

Creating a flow from a specific source ID to a specific destination ID

To create a flow between a specific source ID (SID) and a specific destination ID (DID), complete the
following steps.

1. Create two SIM ports.
2. Create an active flow from the SID to the DID.

FIGURE 12 A flow from a specific source ID to a specific destination ID

Frame payload pattern

68

Flow Vision Administrators Guide

53-1003168-01