The ip netstream export host command configures a destination IP address and a UDP port number for the output NetStream IPv4 flows.
The undo ip netstream export host command deletes a destination IP address and a UDP port number configured for the output NetStream IPv4 flows.
The ipv6 netstream export host command configures a destination IPv6 address and a UDP port number for the output NetStream IPv6 flows.
The undo ipv6 netstream export host command deletes a destination IPv6 address and a UDP port number configured for the output NetStream IPv6 flows.
By default, no destination IP address or UDP port number is configured.
ip netstream export host { ip-address | ipv6 ipv6-address } port [ dscp dscp-value ]
ip netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ dscp dscp-value ]
ipv6 netstream export host { ip-address | ipv6 ipv6-address } port [ dscp dscp-value ]
ipv6 netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ dscp dscp-value ]
undo ip netstream export host { ip-address | ipv6 ipv6-address } port [ dscp dscp-value ]
undo ip netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ dscp dscp-value ]
undo ipv6 netstream export host { ip-address | ipv6 ipv6-address } port [ dscp dscp-value ]
undo ipv6 netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ dscp dscp-value ]
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the NSC IPv4 address to which NetStream flows are output. |
|
ipv6 |
Displays the IPv6 netstream feature. |
- |
ipv6-address |
Specifies the NSC IPv6 address to which NetStream flows are output. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
port |
Specifies the NSC UDP port number to which NetStream flows are output. |
The value is an integer ranging from 1 to 65535. |
dscp dscp-value |
Specifies a differentiated services code point (DSCP) value for output NetStream packets. |
The value is an integer ranging from 1 to 63. |
ip |
Displays the IPv4 netstream feature. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
Usage Scenario
An NDE samples data traffic and sends the sampled data to an NSC for processing. To specify the NSC IP address to which the NDE outputs sampled data, run this command.
Configuration Impact
The destination IP address configured in the NetStream aggregation view is for aggregated NetStream flows. The destination IP configured in the slot view is for original NetStream flows. The destination IP address configured in the system view is for both original and aggregated NetStream flows.
For aggregated flows, the destination IP address configured in the NetStream aggregation view takes precedence over that configured in the system view. If no destination IP address is configured in the NetStream aggregation view, the destination IP address configured in the system view is used. For original flows, the destination IP address configured in the slot view takes precedence over that configured in the system view. If no destination IP address is configured in the slot view, the destination IP address configured in the system view is used.Precautions
<HUAWEI> system-view [~HUAWEI] slot 1 [*HUAWEI-slot-1] ipv6 netstream export host 10.0.0.1 1000
<HUAWEI> system-view [~HUAWEI] slot 1 [*HUAWEI-slot-1] ip netstream export host 10.0.0.1 1000
<HUAWEI> system-view [~HUAWEI] ipv6 netstream aggregation as [*HUAWEI-aggregation-as] ipv6 netstream export host 10.1.1.2 3001
<HUAWEI> system-view [~HUAWEI] ip netstream aggregation as [*HUAWEI-aggregation-as] ip netstream export host 10.1.1.2 3001
<HUAWEI> system-view [~HUAWEI] ipv6 netstream export host 10.1.1.1 3000
<HUAWEI> system-view [~HUAWEI] ip netstream export host 10.1.1.1 3000