< Home

flow ipv4 udp

Function

The flow ipv4 udp command configures a target UDP flow to be monitored by an eMDI instance.

The undo flow ipv4 udp command deletes the target UDP flow monitored by an eMDI instance.

By default, no target flow is configured in an eMDI instance.

Format

flow ipv4 udp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number | pt pt-value | clock-rate clock-rate-value ]*

undo flow ipv4 udp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number | pt pt-value | clock-rate clock-rate-value ]*

undo flow

Parameters

Parameter Description Value
source source-ip-address

Specifies the source IP address of a target flow.

The value is in dotted decimal notation.

destination destination-ip-address

Specifies the destination IP address of a target flow.

The value is in dotted decimal notation.

vlan vlan-id

Specifies the VLAN ID of a target flow.

The value is an integer in the range from 1 to 4094.

source-port source-port-number

Specifies the source port number of a target flow.

The value is an integer in the range from 1 to 65535.

destination-port destination-port-number

Specifies the destination port number of a target flow.

The value is an integer in the range from 1 to 65535.

pt pt-value

Specifies the payload type of a target flow.

The value is an integer in the range from 25 to 127.

clock-rate clock-rate-value

Specifies the clock rate of a target flow.

The value is of the enumerated type and can be set to 8000, 16000, or 90000, in Hz. The default value is 90000.

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

As a key element in an eMDI instance, a target flow to be monitored must be configured before the eMDI instance is started.

A target flow is the object monitored by eMDI, and can be defined by any combinations of multiple attributes such as source IP address, destination IP address, VLAN ID, source port number, and destination port number. Specifying more attributes makes the target flow more accurate. Therefore, it is recommended that you specify more attributes to improve precision of monitoring results.

Precautions

  • An eMDI instance can monitor only one target flow. If multiple target flows are configured in an eMDI instance, only the last configured one takes effect.
  • In a video surveillance scenario, specify the number of the port connected to IPCs to ensure uniqueness of the target flow. Otherwise, the monitoring results will be affected in multi-flow scenarios.
  • In an IPTV scenario, specify the pt pt-value parameter to ensure uniqueness of a target flow. Otherwise, the monitoring results will be affected in multi-flow scenarios.
  • After an eMDI instance is started, the target flow monitored by the eMDI instance cannot be modified. To modify the target flow, run the stop command to stop the eMDI instance first.

Example

# Set the source and destination IP addresses of the target UDP flow to be monitored by eMDI instance 1 to 10.0.0.1 and 10.0.0.2, respectively.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] flow ipv4 udp source 10.0.0.1 destination 10.0.0.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >