The ip netstream export host command configures the destination address to which NetStream statistics are output.
The undo ip netstream export host command disables NetStream from outputting exporting statistics to the specified address.
By default, no destination address to which NetStream statistics are output is configured.
{ ip | ipv6 } netstream export host { ip-address | ipv6 ipv6-address } port
undo { ip | ipv6 } netstream export host { ip-address | ipv6 ipv6-address } port
| 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 destination IPv4 address, that is, the IPv4 address of the NSC. It is in dotted decimal notation. | - |
| ipv6 ipv6-address | Specifies the destination IPv6 address, that is, the IPv6 address of the NSC. | - |
| port | Specifies the destination UDP port number, that is, the UDP port number of the NSC. | The value is an integer ranging from 1 to 65535. |
By default, the destination address for NetStream flow output is not configured.
The device samples performance data and sends the sampled data to an NSC for processing. To specify the IP address to which the device outputs sampled data, run the command.
In the NetStream aggregation view, you can configure the destination address of an aggregation flow. In the system view, you can configure the destination addresses of an original flow and an aggregation flow.
An aggregation flow preferentially uses the destination address configured in the NetStream aggregation view. If the destination address is not configured in the NetStream aggregation view, the aggregation flow uses the destination address configured in the system view.
In the NetStream monitoring service view, you can configure a maximum of two destination addresses to support the backup between two devices. When you attempt to configure the third destination address, the system displays a message indicating that the maximum number of destination addresses allowed is exceeded, and the configuration fails. In this case, to add a new destination address, you must delete one of the configured addresses.
In the system view, IPv4 aggregation view, or IPv6 aggregation view, you can configure two destination addresses, either IPv4 or IPv6 addresses.
In actual applications, the destination and source addresses for NetStream traffic statistics output must be public addresses.