ip netstream timeout inactive
Function
The ip netstream timeout inactive command configures the inactive aging time.
The undo ip netstream timeout inactive command restores the default setting.
By default, the inactive aging time is 30 seconds.
Usage Guidelines
Usage Scenario
Network traffic may burst intermittently, while the memory capacity of the NDE is limited. Earlier flows in the memory need to be exported to release space for the new flows. The process of exporting old flows is called aging. All flows in the NDE memory will be exported to the NSC for analysis.
When the inactive time (from the last packet receiving time to the current time) of an original or flexible flow exceeds the specified inactive aging time, the flow is exported to the destination.
To quickly detect the status of an inactive flow, set the inactive time to a small value; however, this setting increases the frequency at which NetStream packets are sent. To reduce the frequency at which NetStream packets are exported and improve statistics collecting efficiency, set the inactive time to a large value.
Precautions
If you set multiple aging modes on the device, a flow is aged when it matches any criterion.