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.
Parameter |
Description |
Value |
---|---|---|
inactive-interval |
Specifies the inactive aging time. |
The value is an integer that ranges from 1 to 300, in seconds. The default is 30. |
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
The inactive aging time that is configured using the ip netstream timeout inactive command applies to both IPv4 and IPv6 flows.
If you set multiple aging modes on the device, a flow is aged when it matches any criterion.