The ip netstream timeout inactive command sets the inactive aging time for the NetStream IPv4 original flows.
The undo ip netstream timeout inactive command restores the default inactive aging time for NetStream IPv4 original flows.
The ipv6 netstream timeout inactive command sets the inactive aging time for the NetStream IPv6 original flows.
The undo ipv6 netstream timeout inactive command restores the default inactive aging time for NetStream IPv6 original flows.
By default, the inactive aging time of NetStream original flows is 30 seconds.
Parameter | Description | Value |
---|---|---|
aggregation |
Indicates the Netstream aggregation feature. |
- |
inactive inactive-interval |
Specifies the inactive aging time for NetStream flows. |
The value is an integer ranging from 5 to 600, in seconds. |
ipv6 |
Displays the IPv6 netstream feature. |
- |
ip |
Displays the IPv4 netstream feature. |
- |
Usage Scenario
When network flows burst within a short period of time, tens of thousands of flows may be generated within several seconds, and these flows are saved in the buffer on the NDE. The memory capacity of the NDE, however, is limited. When subsequent flows need to be added to the buffer, flows that have been processed in the buffer need to be deleted. This process is called aging. Aged flows are sent to the specified NSC for further analysis.
The aging frequency is determined by the storage space of the device and flow size. The greater the flow size is, the smaller the aging time should be. When the inactive time (from the last packet receiving time to the current time) of a flow exceeds the specified inactive aging time, the flow is exported to the destination end. The inactive aging time determines when an inactive flow will be aged to release occupied resources. When the traffic rate is high, shorten the inactive time to accelerate traffic aging and improve statistics collecting efficiency. A flow is aged in any of the following situations:Precautions
The configured aging time takes effect only after NetStream is enabled on an interface using the netstream command.