< Home

ip netstream export source

Function

The ip netstream export source command configures the source address of the packets carrying NetStream statistics.

The undo ip netstream export source command disables the configuration of the source address.

By default, no source address from which NetStream statistics are output is configured.

Format

{ ip | ipv6 } netstream export source { ip-address | ipv6 ipv6-address }

undo { ip | ipv6 } ip netstream export source [ ipv6 ]

Parameters

Parameter Description Value
ip Indicates an IPv4 data flow. -
ipv6 Indicates an IPv6 data flow.

The NetStream aggregation view does not support this parameter.

-
ip-address Specifies the source IPv4 address of UDP packets carrying NetStream statistics. -
ipv6 ipv6-address Specifies the source IPv6 address of UDP packets carrying NetStream statistics. -

Views

System view, NetStream aggregation view

Default Level

3: Management level

Usage Guidelines

If the NMS needs to identify the data source according to the source IP address in NetStream packets, specify the source IP address for NetStream packets using this command. The type (IPv4 or IPv6) of the source IP address must be the same as that of the NMS address.

The source IP address specified in the aggregation view takes precedence over that specified in the system view. If no source IP address is specified in the aggregation view, the source IP address specified in the system view takes effect.

If the NMS address is an IPv6 address, the source address must be configured. Otherwise, no NetStream flow will be output.

Two source IP addresses (one IPv4 address and one IPv6 address) can be configured in the system or NetStream aggregation view. The two addresses are independent of each other.

Example

# Set the source IPv4 address of the statistics about IPv4 original flows to 1.0.0.3.
<sysname>system-view
[sysname] ip netstream export source 1.0.0.3

# Set the source IP address of the output aggregated flows to 1.0.0.4.

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