< Home

Configuring NetStream Aggregation Flow Statistics Exporting

Context

The device with NetStream aggregation flow statistics enabled can classify and aggregate original flows according to certain rules, and export the aged flows to the NSC. Aggregation of original flows will decrease network bandwidth, CPU usage, and memory space occupation.

Aggregation flow statistics can be exported only after you have specified the source IP address, destination IP address and destination UDP port number for the exported packets.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the ip netstream aggregation { as | as-tos | destination-prefix | destination-prefix-tos | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos } command to configure a NetStream aggregation method and enter the NetStream aggregation view.
  3. (Optional) Run the mask { destination | source } minimum mask-length command to configure an aggregation mask.

    The configured aggregation mask is valid for six aggregation modes: prefix, prefix-tos, destination-prefix, destination-prefix-tos, source-prefix, and source-prefix-tos, in which:

    • The parameter source is used in prefix, prefix-tos, source-prefix, and source-prefix-tos aggregation method.
    • The parameter destination is used in prefix, prefix-tos, destination-prefix, and destination-prefix-tos aggregation method.

  4. Run the ip netstream export source ip-address command to configure the source address of the exported packets carrying flow statistics.
  5. Run the ip netstream export host ip-address port-number [ vpn-instance vpn-instance-name ] command to configure the destination NSC for exporting packets carrying aggregation flow statistics.

    The destination NSC address of the statistics can be configured in either the system view or the NetStream aggregation view. The destination NSC address configured in the aggregation view takes precedence over that configured in the system view. After the destination NSC address is configured:

    • Original flow statistics are exported only to the destination NSC address configured in the system view.
    • Aggregation flows are exported to the destination NSC address configured in the corresponding aggregation view. If no destination NSC address is configured in the aggregation view, aggregation flows are exported to the destination NSC address configured in the system view.

  6. Run the enable command to enable the NetStream aggregation function.

    By default, the aggregation function is disabled.

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