R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

101
[RouterA-Ethernet1/0] ip address 3.1.1.1 255.255.0.0
[RouterA-Ethernet1/0] ip netstream inbound
[RouterA-Ethernet1/0] ip netstream outbound
[RouterA-Ethernet1/0] quit
# In system view, configure the destination address and the destination UDP port number for the
NetStream traditional data export with IP address 4.1.1.1 and port 5000.
[RouterA] ip netstream export host 4.1.1.1 5000
# Configure the aggregation mode as AS, and, then, in aggregation view, configure the destination
address and the destination UDP port number for the NetStream AS aggregation data export.
[RouterA] ip netstream aggregation as
[RouterA-ns-aggregation-as] enable
[RouterA-ns-aggregation-as] ip netstream export host 4.1.1.1 2000
[RouterA-ns-aggregation-as] quit
# Configure the aggregation mode as protocol-port, and, then, in aggregation view, configure the
destination address and the destination UDP port number for the NetStream protocol-port aggregation
data export.
[RouterA] ip netstream aggregation protocol-port
[RouterA-ns-aggregation-protport] enable
[RouterA-ns-aggregation-protport] ip netstream export host 4.1.1.1 3000
[RouterA-ns-aggregation-protport] quit
# Configure the aggregation mode as source-prefix, and, then, in aggregation view, configure the
destination address and the destination UDP port number for the NetStream source-prefix aggregation
data export.
[RouterA] ip netstream aggregation source-prefix
[RouterA-ns-aggregation-srcpre] enable
[RouterA-ns-aggregation-srcpre] ip netstream export host 4.1.1.1 4000
[RouterA-ns-aggregation-srcpre] quit
# Configure the aggregation mode as destination-prefix, and, then, in aggregation view, configure the
destination address and the destination UDP port number for the NetStream destination-prefix
aggregation data export.
[RouterA] ip netstream aggregation destination-prefix
[RouterA-ns-aggregation-dstpre] enable
[RouterA-ns-aggregation-dstpre] ip netstream export host 4.1.1.1 6000
[RouterA-ns-aggregation-dstpre] quit
# Configure the aggregation mode as prefix, and, then, in aggregation view, configure the destination
address and the destination UDP port number for the NetStream prefix aggregation data export.
[RouterA] ip netstream aggregation prefix
[RouterA-ns-aggregation-prefix] enable
[RouterA-ns-aggregation-prefix] ip netstream export host 4.1.1.1 7000
[RouterA-ns-aggregation-prefix] quit