Network requirements – H3C Technologies H3C SR8800 User Manual
Page 162
150
# Configure the aggregation mode as AS, and in aggregation view configure the destination address 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] ip netstream export source interface M-Ethernet6/0/0
[RouterA-ns-aggregation-as] quit
# Configure the aggregation mode as protocol-port, and in aggregation view configure the destination
address 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] ip netstream export source interface M-Ethernet6/0/0
[RouterA-ns-aggregation-protport] quit
# Configure the aggregation mode as source-prefix, and in aggregation view configure the destination
address 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] ip netstream export source interface M-Ethernet6/0/0
[RouterA-ns-aggregation-srcpre] quit
# Configure the aggregation mode as destination-prefix, and in aggregation view configure the
destination address 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] ip netstream export source interface M-Ethernet6/0/0
[Sysname-ns-aggregation-dstpre] quit
# Configure the aggregation mode as prefix, and in aggregation view configure the destination address
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] ip netstream export source interface M-Ethernet6/0/0
[RouterA-ns-aggregation-prefix] quit
NetStream aggregation data export on an SPC card
configuration example
Network requirements
As shown in
, configure NetStream on Router A as follows:
•
Configure NetStream sampling to reduce the amount of packets to be counted, thus reducing the
impact on the router forwarding perform.
•
Configure Router A to export NetStream traditional data in version 5 format to port 5000 of the
NetStream server at 4.1.1.1/16.