No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring NetStream Aggregation Flow Statistics Exporting

Configuring NetStream Aggregation Flow Statistics Exporting

Context

You can configure an aggregation method for NetStream flows. Aggregation flow statistics can be exported only when you have specified at least one destination IP address and one destination UDP port number.

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.

Procedure

  1. Run the system-view command to enter the system view.
  2. (Optional) Run ip netstream as extend enable

    The supported BGP AS number range is set.

    By default, the BGP AS numbers range from 1 to 65535.

    Only the output packets of V9 or V10 support the 32-bit BGP AS numbers. The ip netstream as extend enable command needs to be executed to set the supported BGP AS number range to 1-4294967295.

  3. 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.
  4. (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.

  5. Run the ip netstream export source ip-address command to configure the source address of the exported packets carrying flow statistics.
  6. Run the ip netstream export host ip-address port-number [ vpn-instance vpn-instance-name ] command to configure the destination IP address and destination UDP port number for exporting 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.

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

    By default, the aggregation function is disabled.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 30579

Downloads: 177

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next