The ip netstream timeout command sets the aging time of NetStream. When the active time of one stream (from the time the stream is created to the current time) exceeds the configured time, this stream is aged.
The undo ip netstream timeout command sets the aging time to the default value.
{ ip | ipv6 } netstream timeout { active active-interval | inactive inactive-interval }
undo { ip | ipv6 } netstream timeout { active | inactive }
| Parameter | Description | Value |
|---|---|---|
ip |
Indicates an IPv4 data flow. |
- |
ipv6 |
Indicates an IPv6 data flow. |
- |
active active-interval |
Specifies the active aging time of NetStream. |
The value is an integer, in minute. The value range is 1 to 60, and the default value is 30. |
inactive inactive-interval |
Specifies the inactive aging time of NetStream. |
The value is an integer, in second. The value range is 10 to 600, and the default value is 30. |
The configured aging time takes effect after NetStream sampling is enabled.
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.