< Home

Configuring Aggregation

After you configure aggregation, the NetStream function is enabled.

Context

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.

Procedure

  1. Access the system view.

    system-view

  2. Access the view of the specified aggregation mode.

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

  3. Enable the aggregation function.

    enable

  4. Optional: Configure the mask for the aggregation.

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >