Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual
Page 205
192
[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 NetStream aggregation view,
configure the destination address as 4.1.1.1 and the destination UDP port number as 3000 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 NetStream aggregation view,
configure the destination address as 4.1.1.1 and the destination UDP port number as 4000 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 NetStream aggregation view,
configure the destination address as 4.1.1.1 and the destination UDP port number as 6000 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 NetStream aggregation view, configure the
destination address as 4.1.1.1 and the destination UDP port number as 7000 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
Verifying the configuration
Display the NetStream aggregation data export after the device operates for a while.
# Display NetStream entry information in the cache.
[RouterA] display ip netstream cache
IP NetStream cache information:
Flow active timeout (minutes) : 30
Flow inactive timeout (seconds) : 30
Max number of entries : 1024
IP active flow entries : 2
MPLS active flow entries : 0
L2 active flow entries : 0
IPL2 active flow entries : 0
IP flow entries been counted : 0
MPLS flow entries been counted : 0