beautypg.com

Flow deletion, Deleting flows, Deleting a single flow – Brocade Flow Vision Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 28

background image

Sorting a Flow Mirror flow

The following example creates a Flow Mirror flow, and then shows the output
sorted by column 3, the OXID.

switch:admin> flow --create sortMirror -feature mirror -egrport 15 -srcdev "*" -bidir

switch:admin> flow --show sortMirror -feature mirror -sortby column3

=======================================================================================================

Name : sortMirror Features: mir(Activated) noConfig: Off

Definition: EgrPort(15),SrcDev(*),BiDir

Flow Mirror (Activated):

-------------------------------------------------------------------------------------------------------

| SID(*) | DID(*) | OXID | RXID | SOF | EOF | Frame_type | LUN(*) | Dir | Time-Stamp |

-------------------------------------------------------------------------------------------------------

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:100 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:101 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:102 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:103 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:104 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:105 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:106 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:107 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:108 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:109 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:50:110 |

| 010e00 | 010f00 | 0001 | ffff | SOFn3 | EOFn | Data | ---- | Tx | Jun 05 10:16:51:104 |

| 010f00 | 010e00 | 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 10:16:51:111 |

| 010f00 | 010e00 | 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 10:16:52:104 |

| 010f00 | 010e00 | 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 10:16:52:104 |

| 010f00 | 010e00 | 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 10:16:53:106 |

| 010f00 | 010e00 | 0044 | ffff | SOFn3 | EOFn | Data | ---- | Rx | Jun 05 10:16:54:109 |

(output truncated)

--------------------------------------------------------------------------------------------

No of Mirrored Frames : 1280, No of RX Mirrored Frames : 640, No of TX Mirrored Frames : 640

--------------------------------------------------------------------------------------------

=======================================================================================================

Flow deletion

Flow Vision allows you to delete either individual flows or all flows at one time.

When you delete a flow, the following actions occur:

• The specified flow is automatically deactivated before it is deleted.
• All instances of the specified flow are removed.
• Any sub-flows associated with the specified flow are removed.
• If the specified flow is a Flow Monitor or Flow Mirror flow, all flow statistics for it are automatically

cleared. If the specified flow is a Flow Generator flow, the statistics are retained.

• You are not asked to confirm the deletion, unless you use all as the flow name and do not use the -

force keyword. For example: flow --delete all.

For more information on the flow --delete command, refer to the Fabric OS Command Reference.

Deleting flows

Flow Vision allows you to delete either a single flow or all flows.

Deleting a single flow

To delete any Flow Vision flow, complete the following steps.

Flow deletion

28

Flow Vision Administrators Guide

53-1003168-01