showflow

Last Updated : Jun 01, 2023 |

A flow is a connection between an endpoint and Avaya SBC. Types of flows are:

  • Static: A static flow is configured on the Avaya SBC only one time. Static flows do not change until the administrator changes the flows. Static flows are used, for example, for connections between endpoints and an Avaya SBC signaling address.

  • Dynamic: A dynamic flow is a transient connection between an endpoint and Avaya SBC. Software creates, modifies, and deletes dynamic flows to support the transfer of media packets through Avaya SBC.

Many flows can exist on Avaya SBC simultaneously. To troubleshoot issues with Avaya SBC, you can use the showflow command to display flows with varying levels of detail.

Description

showflow is a root-level console command to display the flows that are currently active on Avaya SBC.

Syntax

showflow 310 flow-type detail-levelfilter-ip

flow-type

The flow type can be:

  • static: Shows all static flows.

  • dynamic: Shows all dynamic flows.

  • turn_client_side: Shows all TURN flows on the listen interface of Avaya SBC.

  • turn_far_side: Shows all TURN flows on the relay interface of Avaya SBC.

  • blacklist: Shows all IP addresses that are currently blacklisted. Packets from blacklisted addresses do not match any flows.

  • whitelist: Shows only those static flows that require whitelisting of the endpoint IP address.

detail-level

You can specify the detail level for dynamic flows. The detail level for all other flows is fixed. When levels exceed the default detail level 0, you can see the default flow information and also additional information for the flow. The detail levels for dynamic flows can be:

  • 0: Shows the default level of information. If a detail level is not specified in the command, the system uses 0 detail level.

  • 1: Adds more decrypt information to every flow.

  • 2: Adds more encrypt information to every flow.

  • 3: Adds the physical port number for the output of the flow. Packets matching this flow are sent out of this physical port.

  • 4: Adds relay information. Packets matching this flow are changed according to this relay before they are forwarded.

  • 5: Adds VLAN identifiers and flow statistics.

  • 6: Adds SIPREC information. This option does not change non-SIPREC flows.

  • 7: Adds encrypt information for a SIPREC flow. This option does not change non-SIPREC flows.

  • 8: Adds decrypt information for a SIPREC flow. This option does not change non-SIPREC flows.

  • 12: Shows RTCP-MUX actors applied on "dynamic flows".

filter-ip

If you specify a filter IP address, the showflow command displays dynamic flows that use the IP address that you specified as:

  • An input or a packet source

  • An output or a packet destination

When you specify a filter IP address, the showflow command displays dynamic flows pertaining to an endpoint with that IP address. If you do not provide a filter IP address, the system displays all dynamic flows.

Example

The following example displays full details of all dynamic flows with 10.20.30.40 as a source or destination:

showflow 310 dynamic 8 10.20.30.40

The following example displays all static flows:

showflow 310 static