< Home

ip netstream aggregation

Function

The ip netstream aggregation command enters the NetStream aggregation configuration mode.

Format

ip netstream aggregation { as | destination-prefix | protocol-port | protocol-port-tos | source-prefix }

Parameters

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.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

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:

  • For users concerned about only a certain attribute of network traffic, configuring aggregation flow output is more appropriate.
  • In addition to traffic classification, NetStream aggregation reduces the number of statistics sent to the NMS, decreasing the load on the network.
  • NetStream aggregation reduces resources consumed by the NMS to process original flows. The NMS can display traffic classification by parsing aggregated flows based on the aggregation template.

After entering the NetStream aggregation view, run the enable command to enable the NetStream aggregation mode.

Example

# Enter the NetStream AS aggregation mode.

<sysname> system-view
[sysname] ip netstream aggregation as
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >