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 Flow Aging

Configuring NetStream Flow Aging

Context

When configuring the original flow statistics exporting, you need to configure NetStream flow aging. When a NetStream flow is aged out, the device exports the flow statistics in the cache to the NSC using NetStream packets of a specified version.

NetStream flow aging modes include regular aging, byte-based aging, and forced aging. Byte-based aging is enabled by default, which requires no configuration.

  • Regular aging

    • Active aging

      Active aging enables the device to periodically export the statistics about the flows that last for a long period. This aging mode is enabled on the device by default. You can configure the aging time as required.

    • Inactive aging

      Inactive aging clears unnecessary entries in the NetStream cache so that the system can fully leverage statistics entries. Inactive aging enables the device to export the statistics about the flows that last for a short period. Once adding packets to a flow stops, the device exports flow statistics to conserve memory space. This aging mode is enabled on the device by default. You can configure the aging time as required.

  • Forced aging

    Forced aging is used when existing flows do not meet aging conditions but the latest statistics are required or when some flows fail to be aged out due to abnormal NetStream services. You can run commands to forcibly age all the original flows in the cache and export the flow statistics.

Procedure

  • Configuring regular aging

    Configure active aging.

    1. Run system-view

      The system view is displayed.

    2. Run ip netstream timeout active active-interval

      The active aging time of IPv4 flows is set.

      By default, the active aging time of IPv4 flows is 30 minutes.

    Configure inactive aging.

    1. Run system-view

      The system view is displayed.

    2. Run ip netstream timeout inactive inactive-interval

      The inactive aging time of IPv4 flows is set.

      By default, the inactive aging time of IPv4 flows is 30 seconds.

  • Configure forced aging.
    1. Run system-view

      The system view is displayed.

    2. Run reset ip netstream cache

      All flows in the cache are forcibly aged.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 34702

Downloads: 196

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