Sub-flow monitoring and maps, Monitoring end-to-end performance – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 73
![background image](/manuals/361669/73/background.png)
RASLog message is generated. If you are certain that you want to import that flow and monitor it using
the existing rules for that flow, you must use the -force keyword as part of the mapsConfig --import
command.
The following example demonstrates importing a flow named “myExFlow” using the -force keyword.
switch:admin> mapsconfig --import myExFlow -force
Sub-flow monitoring and MAPS
MAPS supports monitoring both static and learned flows (flows created using an asterisk (*)).
For a learning flow (one created using an asterisk (*)), the sub-flow membership may change
dynamically; that is, the sub-flows that are part of the learning flow may get deleted or new sub-flows
may become part of the learning flow. One case where this can happen is when the portEnable or
portDisable command is applied to an ingress or egress port for a sub-flow that is depending on the
flow learning definition for its existence. The thresholds configured for a flow are applied at the sub-flow
level.
If the sub-flow membership changes for a learning flow that has been imported, MAPS will automatically
start monitoring the added sub-flows and stop monitoring the deleted sub-flows.
The member count shown in the output of the logicalGroup --show command shows the current
number of sub-flows present in the flow. The following example shows that the flow named “thruputflow”
had four sub-flows at the time the command was run.
switch0:FID128:admin> logicalgroup --show thruputflow
-------------------------------------------------------------------------------------
Group Name |Predefined |Type |Member Count|Members
-------------------------------------------------------------------------------------
thputflow |No |Flow |4 |Monitored Flow
Examples of using MAPS to monitor traffic performance
The following examples illustrate how to use MAPS to monitor traffic performance.
Monitoring end-to-end performance
The following example monitors the percentage of frames exceeding the configured threshold of RX
and TX values in a flow between two devices. To achieve this, it defines a flow using the -feature
monitor parameter for a particular Source ID, Destination ID, and port.
switch246:admin> flow --create E2E_flow -feature monitor -ingrport 5 -scrdev 0x010200
-dstdev 0x020300
switch246:admin> mapsconfig --import E2E_flow
switch246:admin> mapsrule --create E2E_rule -monitor TX_THPUT -group E2E_flow -
timebase min -op g -value 10 -action rasLog -policy flowpolicy
NOTE
The group name needs to match the imported flow name.
Sub-flow monitoring and MAPS
Monitoring and Alerting Policy Suite Administrator's Guide
73
53-1003147-01