ip netstream aggregation { as | destination-prefix | protocol-port | protocol-port-tos | source-prefix }
| Parameter | Description | Value |
|---|---|---|
as |
Indicates AS aggregation. It classifies streams by four key values including the source AS number, destination AS number, incoming interface index and outgoing interface index. |
- |
destination-prefix |
Indicates destination-prefix aggregation. It classifies streams by four key values including the destination AS number, destination mask length, destination prefix and outgoing interface index. |
- |
protocol-port |
Indicates protocol-port aggregation. It classifies streams by three key values including the protocol number, source port and destination port. |
- |
protocol-port-tos |
Indicates protocol-port-ToS aggregation. It classifies streams by six key values, including protocol number, the source port, the destination port, ToS, the incoming interface index and the outgoing interface index. |
- |
source-prefix |
Indicates source-prefix aggregation. It classifies streams by four key values including the source AS number, source mask length, source prefix and incoming interface index. |
- |
By default, no aggregation mode is specified.
Statistics about NetStream aggregated flows contain information about original flows with the same attributes, whereas statistics about NetStream original flows contain information about sampled packets. Therefore, the former has a smaller volume of data generated.
The aggregation flow statistics collection provides 5 aggregation methods and has the following strengths:
After entering the NetStream aggregation view, run the enable command to enable the NetStream aggregation mode.