After you configure aggregation, the NetStream function is enabled.
To aggregate the traffic statistics and output aggregated statistics in packets, configure the aggregation mode. At present, both Version 8 and Version 9 support the following aggregation modes: as, as-tos, protocol-port, protocol-port-tos, source-prefix, source-prefix-tos, destination-prefix, destination-prefix-tos, prefix, and prefix-tos.
system-view
ip netstream aggregation { as | as-tos | destination-prefix | destination-prefix-tos | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos }
enable
mask { source | destination } minimum mask-length
You can configure the source aggregation mask only for modes prefix, prefix-tos, source-prefix, and source-prefix-tos.
You can configure the destination aggregation mask only for modes prefix, prefix-tos, destination-prefix, and destination-prefix-tos.