You can view Flow Monitor information on ports with the following commands:
The show flowmon command shows whether Flow Monitor is in enabled or disabled state, the number of groups, number of keys, and number of collectors. It also shows the current total number of flows learned in each hardware domain.
The show flowmon collector [collector_name | all] detail command shows Flow Monitor collector information.
When detail is entered, the source and destination IPv4 addresses, source and destination UDP ports, VR name, and export MTU size are displayed.
Note
If collector_name is not entered, then a list of collectors is displayed.The show flowmon group group_name | all] detail command shows Flow Monitor group information. For each Flow Monitor group, the group name and parameters are shown.
When detail is entered, the assigned collector name, complete template name, template key portion name, and a list of key names, dependent keys and containing groups are shown. In addition, the group state and whether the group is enabled or disabled are shown. The group state is defined as follows:
When all is entered, then all groups are shown with full detail.
The show flowmon group group_name statistics no-refresh wide command shows Flow Monitor group statistics information.
When group_name is entered, only the statistics for that group are shown. When not entered, all groups are shown using the Page Up and Page Down options.
Each group name is displayed along with the number of active flows, the number of flows that have aged out, the number of flows that were not learned because the group flow limit was exceeded, the number of flows learned on the group, and the number of flows that were not learned because the flow table was full.
When no-refresh is provided, the specified group or groups are displayed one time with their current values.
If no-refresh is not entered, the display is updated with refreshed values every five seconds. This display operates as a standard updatable Switch Engine statistics display, providing Page Up, Page Down, Exit, and Clear options.
When no-refresh is entered, the specified group or groups are displayed one time with their current values.
When wide is entered, a wider version of the display is shown. If wide is not entered, the counters are limited to a display width that fits into 80 display columns. When wide is provided, the full 64-bit counter value can be displayed (about 21 columns per integer value).
The show flowmon group group_name template detail command displays Flow Monitor group template information. The complete template name is shown with the template key portion name.
When detail is entered, the Element IDs are shown in text form.
The show flowmon key key_name command shows Flow Monitor key information. For each key, the name, type, associated group name (if applicable), and the 'before' or after key name (if applicable) are displayed.
When all is entered and detail is not specified, all keys are shown in tabular format.
When detail is entered, the IPv4 or IPv6 address and mask, source or destination UDP or TCP port, protocol or next header, and specified list of ports to which the key is applied are shown. If none are specified, all values are shown.