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, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
NetStream Flow Aging

NetStream Flow Aging

NetStream flow aging is a prerequisite for exporting flow statistics to the NSC. Once NetStream is enabled on a device, flow statistics are stored in the NetStream cache on the device. When a NetStream flow is aged out, the NDE exports the flow statistics in the cache to the NSC using NetStream packets of the specified version.

NetStream flows are aged out in the following modes:

  • Regular aging

    • Active aging

      Packets are continuously added to a flow for a specified period from when the first packet is added. When the active aging timer expires, the flow statistics are exported. Active aging enables the NDE to periodically export statistics about flows that last for long periods.

    • Inactive aging

      If no packet is added to a flow in a specified period after the last packet is added to the flow, the NDE exports flow statistics to the NetStream server. Inactive aging clears unnecessary entries in the NetStream cache so that the system can fully leverage statistics entries. Inactive aging enables the NDE to export the statistics about flows that last for a short period. Once adding packets to a flow stops, the NDE exports the flow statistics to save memory space.

  • FIN- or RST-based aging

    A FIN or RST flag in a TCP packet indicates that the TCP connection is terminated. The NDE immediately ages the corresponding NetStream flow when it receives a packet with a FIN or RST flag.

  • Byte-based aging

    The NetStream cache records the number of bytes for each flow. Overflow occurs when the number of bytes exceeds the specified upper limit, and the NDE immediately ages the flow to prevent a byte counting error. The hardware byte counter is a 32-bit counter, and the upper limit is 4,294,967,295 bytes (about 3.9 GB).

  • Forced aging

    If a flow fails to age due to abnormal NetStream services or the latest statistics are needed before the flow meets aging conditions, you can run commands to forcibly age all flows in the NetStream cache

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 101194

Downloads: 335

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