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.
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.