Administrator Guide

36 Flow Vision Administrator’s Guide
53-1002999-01
Flow Generator management
3
Notes on displaying the status of a Flow Generator flow
If you want to see the per-flow frame count on a port with multiple flows, you must include the
flow monitoring feature in the flow definition (flow --create flowname -feature generator,
monitor).
If there is more than one static flow active on the port, Flow Generator will append a note
stating such at the bottom of the output.
Deactivating Flow Generator flows
To manually deactivate a Flow Generator flow, enter flow --deactivate flowname -feature generator.
The following example deactivates the Flow Generator flow named “Flow1”.
switch:admin> flow --deactivate Flow1 -feature generator
When a flow is deactivated, traffic stops for that flow and any sub-flows associated with it. When a
flow is deactivated, the definition remains but Flow Generator does not populate it with traffic.
Automatic deactivation of a Flow Generator flow
Flow Vision automatically deactivates all Flow Generator flows and causes existing flow traffic to
stop if any of the following occurs:
Any of the SIM-Ports or devices defined in the flow go offline. For example, HA events on a
remote switch will automatically deactivate flows on the local switch. The source or destination
device can go offline due to user action, link level issues or due to switch actions (as part of
switch bring up).
A SIM-port configuration is deleted while the port is online.
Refer to “Flow Generator and High Availability” on page 43 for additional details.
Deleting Flow Generator flows
To delete a Flow Generator flow, enter flow --delete flowname. You do not need to include
-feature generator, as you can only delete the entire flow; you cannot delete an individual feature
from a flow.
When you delete a Flow Generator flow, the following happens:
The flow statistics for that flow remain.
Associated sub-flows are removed.
If the flow is active, the flow is automatically deactivated before it is deleted. Refer to
“Deactivating Flow Generator flows” on page 36 for more information.
You are not asked to confirm the deletion.
The following example deletes the Flow Generator flow named “Flow1”.
switch:admin> flow --delete Flow1