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

S12700 V200R011C10 Configuration Guide - Network Management and Monitoring

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON and RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, Traffic Distribution, NetStream, sFlow, and TWAMP Light.
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 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 active aging, inactive aging, FIN- and RST-based aging, byte-based aging, and forced aging. By default, the byte-based aging is enabled.

  • Active aging

    This aging mode is enabled on the device by default, and you only need to set the aging time. Active aging requires the device to periodically export statistics about the flows that persist for a long period.

    NOTE:

    Only the X series cards support active aging time.

  • Inactive aging

    Inactive aging clears unnecessary entries in the NetStream cache so that the system can fully leverage statistics entries. Inactive aging requires the device to export statistics about the flows that persist 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, and you only need to set the aging time.

  • FIN- and RST-based aging

    An FIN or RST flag in a TCP packet indicates the termination of a TCP connection. When receiving a packet with the FIN or RST flag, the device immediately ages out the corresponding NetStream flow. It is recommended that you enable this mode.

  • Forced aging

    Forced aging is used when you require the latest statistics, but you do not satisfy with the existing aging conditions or some flows fail to age out due to an anomaly. You can forcibly age out all the flows in the cache and export the flow statistics.

Procedure

  • Configure active aging.
    1. Run the system-view command to enter the system view.
    2. Run the ip netstream timeout active active-interval command to set the active aging time of IPv6 flows.

      By default, the active flow aging time is 200 seconds.

  • Configure inactive aging.
    1. Run the system-view command to enter the system view.
    2. Run the ip netstream timeout inactive inactive-interval command to set the inactive time of IPv6 flows.

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

  • Configure FIN- and RST-based aging.
    1. Run the system-view command to enter the system view.
    2. Run the ip netstream tcp-flag enable command to age out NetStream flows according to the FIN or RST flag in the TCP packet header (indicating that the sender has completed the transmission task).

      By default, NetStream flows are not aged according to the FIN or RST flag in the TCP packet header.

  • Configure forced aging.
    1. Run the system-view command to enter the system view.
    2. Run the reset ip netstream cache slot slot-id command to forcibly age out all flows in the cache.
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178113

Views: 137228

Downloads: 53

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