Configuring NetStream Flow Aging
Context
When configuring RPF NetStream, 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.