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 [ version { 5 | 9 | ipfix } ] [ dscp dscp-value ]
ip netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ version { 5 | 9 | ipfix } ] [ dscp dscp-value ]
ipv6 netstream export host { ip-address | ipv6 ipv6-address } port [ version { 9 | ipfix } ] [ dscp dscp-value ]
ipv6 netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ version { 9 | ipfix } ] [ dscp dscp-value ]
undo ip netstream export host { ip-address | ipv6 ipv6-address } port [ version { 5 | 9 | ipfix } ] [ dscp dscp-value ]
undo ip netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ version { 5 | 9 | ipfix } ] [ dscp dscp-value ]
undo ipv6 netstream export host { ip-address | ipv6 ipv6-address } port [ version { 9 | ipfix } ] [ dscp dscp-value ]
undo ipv6 netstream export host { ip-address | ipv6 ipv6-address } port vpn-instance vpn-instance-name [ version { 9 | ipfix } ] [ 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. |
version |
Specifies the format of output NetStream packets. By default, the format configured in the system view is used. The packet output format can be specified only after the destination address of NetStream packets is configured in the NetStream monitoring service view. |
- |
5 |
Indicates that the format of output NetStream packets is V5. |
- |
9 |
Indicates that the format of output NetStream packets is V9. |
- |
ipfix |
Indicates that the format of output NetStream packets is IPFIX. |
- |
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 monitoring view is for original NetStream flows.
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. When destination IP address configured in the slot view,<HUAWEI> system-view [~HUAWEI] ipv6 netstream monitor 1 [*HUAWEI-monitor-1] ipv6 netstream export host 10.1.1.1 3000 version 9 dscp 10
<HUAWEI> system-view [~HUAWEI] ip netstream monitor 1 [*HUAWEI-monitor-1] ip netstream export host 10.1.1.1 3000 version 9 dscp 10