< Home

ip netstream export source

Function

The ip netstream export source command configures the source address for the exported packets carrying IPv4 flow statistics.

The undo ip netstream export source command deletes the configured source address for the exported packets carrying IPv4 flow statistics.

By default, no source address is configured in the system view or aggregation view for the exported packets carrying IPv4 flow statistics.

Format

ip netstream export source ip-address

undo ip netstream export source

Parameters

Parameter

Description

Value

ip-address

Specifies the source IPv4 address of the exported packets carrying IPv4 flow statistics.

The parameter must be set to an existing IP address on the device.

Views

System view, NetStream aggregation view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the NMS identifies the data source according to the source IP address in NetStream packets, you need to specify the source IP address for NetStream packets.

Precautions

NetStream prefers the source IP address configured in the aggregation view. If no source address is specified in an aggregation method, the source address configured in the system view is used.

This command must be performed; otherwise, the source address of output packets may be 0.0.0.0, and the output packets may be discarded during transmission or cannot be parsed by the NetStream server.

Example

# In the system view, set the source address for the exported packets carrying IPv4 flow statistics to 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] ip netstream export source 10.1.1.1

# In the aggregation view, set the source address for the exported packets carrying IPv4 flow statistics to 10.2.2.2.

<HUAWEI> system-view
[HUAWEI] ip netstream aggregation as
[HUAWEI-aggregation-as] ip netstream export source 10.2.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >