Example
ip netstream export host
Syntax
View
Parameter
Description
Related command:
Example
ip netstream export source
Syntax
# Enter NetStream AS aggregation view.
<Sysname> system-view
[Sysname] ip netstream aggregation as
[Sysname-aggregation-as]
ip netstream export host ip-address udp-port
undo ip netstream export host [ ip-address ]
System view, NetStream aggregation view
ip-address: Destination IP address for NetStream UDP packets.
udp-port: Destination port number for NetStream UDP packets, in the range 0 to
65535.
Use the
ip netstream export host
and port number for NetStream UDP packets.
Use the
undo ip netstream export host
By default, no destination IP address and port number are configured in system
view and the IP address and port number in aggregation view are those
configured by users in system view.
Note that:
Different destination hosts can be configured in different aggregation views.
■
You can configure up to two different destination hosts in one aggregation
■
view. Statistics packets for a single stream are sent to all destination hosts
configured in system view. Aggregation statistics packets are sent to all
destination hosts configured in the aggregation view corresponding to the
aggregation type.
ip netstream aggregation, ip netstream export source.
# Configure the destination IP address and port number for NetStream statistics
packet as 172.16.105.48 and 5000 respectively.
<Sysname> system-view
[Sysname] ip netstream export host 172.16.105.48 5000
ip netstream export source interface interface-type interface-number
undo ip netstream export source
command to set the destination IP address
command to restore the default.
2297