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


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


Configuration Guide - Network Management and Monitoring

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, NETCONF, OpenFlow, LLDP, NQA, Mirroring, Packet Capture, Packet Trace, Path and Connectivity Detection Configuration, NetStream, sFlow, and iPCA.
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

The device outputs flows to NSC only after the flows age out. When the NetStream function is enabled, NetStream flows are stored in the buffer. When the flows in buffer meet the aging condition, the device outputs the aging flows in the buffer to the NSC.

NetStream flows are aged out in the following modes:

  • Aging based on customized conditions

    • Active aging

      After the first packet of a flow is sampled, a flow can always be sampled within specified period. When the aging time of a flow exceeds the specified period, statistics about this flow are output. Active aging enables the device to periodically output the statistics about the flows that last for a long period.

    • Inactive aging

      If the device does not sample a flow until the last packet is sent, that is, the number of packets does not increase within the specified period, the device outputs statistics about this flow to the NetStream server. Inactive aging clears unnecessary entries in the NetStream cache so that the system can fully leverage statistics entries. Inactive aging requires the device to output statistics about the flows that persist for a short period. Once the addition of packets to a flow stops, the device outputs flow statistics to conserve memory space.

    • FIN or RST-based aging

      The FIN or RST flag in a TCP packet indicates that the TCP connection is terminated.

      A flow is aged when the FIN or RST bit is detected in the packets of the flow.

  • Oversized aging

    • NetStream flow table oversized aging

      The device limits the size of the NetStream flow table. When the number of entries in the NetStream flow table exceeds the limit, the system automatically ages the excess flows to ensure the accuracy of statistics.

    • Byte oversized aging

      The NetStream flows in the buffer record the number of passing bytes. When the number of bytes exceeds the limit (4294967295 bytes, about 3.9 GB), recording new statistics will cause buffer overflow and the statistics will be inaccurate. Therefore, when it detects that the number of bytes in a flow exceeds the limit, the system immediately ages the flow.

  • Forcible aging

    You can run the related commands to age out all flows in the NetStream buffer. Forcible aging is used when the aging conditions are not met but new flows need to be added to the buffer or when the NetStream service becomes abnormal, causing flows in the buffer not to be aged.

Updated: 2019-04-20

Document ID: EDOC1100075365

Views: 42191

Downloads: 129

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