< Home

traffic-analysis udp export source

Function

The traffic-analysis udp export source command configures the source IP address for the packets carrying intelligent traffic analysis results of UDP flows.

The undo traffic-analysis udp export source command deletes the source IPv4 address for the packets carrying intelligent traffic analysis results of UDP flows.

The undo traffic-analysis udp export source ipv6 command deletes the source IPv6 address for the packets carrying intelligent traffic analysis results of UDP flows.

Format

traffic-analysis udp export source { ip ip-address | ipv6 ipv6-address }

undo traffic-analysis udp export source [ ipv6 ]

Parameters

Parameter Description Value

ip ip-address

Specifies the source IPv4 address of packets to be sent.

The value is in dotted decimal notation.

ipv6 ipv6-address

Specifies the source IPv6 address of packets to be sent.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, no source IP address is configured for the packets carrying UDP flow analysis results.

Usage Scenario

After intelligent traffic analysis for UDP flows is enabled on a device, the flow tables that contain UDP flow analysis results are first stored on the device. When a flow table meets the aging conditions, the device sends the flow table to the specified TDA for further processing and graphical display of flow information. The TDA may need to identify the data source based on the source IP address in the packets that carry intelligent traffic analysis results of UDP flows. Therefore, you can run the traffic-analysis udp export source command to set the source IP address of these packets.

Precautions
  • If no source IP address is configured, no packets are sent.
  • The IPv4 and IPv6 addresses cannot be both configured using one command.
  • If you need to configure a new export IP address, perform either of the following operations based on the actual scenario:
    • If the IP address types before and after the change are the same, such as when IPv4 address A is changed to IPv4 address B or IPv6 address A is changed to IPv6 address B, run the traffic-analysis udp export source { ip ip-address | ipv6 ipv6-address } command to replace an existing IP address.
    • If the IP address type before the modification is different from that after the modification, such as when IPv4 address A is changed to IPv6 address B or IPv6 address B is changed to IPv4 address A, run the undo traffic-analysis udp export source [ ipv6 ] command to delete the original source address and then run the traffic-analysis udp export source { ip ip-address | ipv6 ipv6-address } command to configure a new source address.

Example

# Set the source IP address to 10.3.1.1 for the packets carrying intelligent traffic analysis results of UDP flows.
<sysname> system-view
[sysname] traffic-analysis udp export source ip 10.3.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >