The ip netstream timeout active command sets the active aging time for the NetStream IPv4 original flows.
The undo ip netstream timeout active command restores the default active aging time for NetStream IPv4 original flows.
The ipv6 netstream timeout active command sets the active aging time for the NetStream IPv6 original flows.
The undo ipv6 netstream timeout active command restores the default active aging time for NetStream IPv6 original flows.
By default, the active aging time of NetStream original flows is 30 minutes.
ip netstream timeout active { active-interval | interval-second active-second-interval }
ip netstream aggregation timeout active { active-interval | interval-second active-second-interval }
ipv6 netstream timeout active { active-interval | interval-second active-second-interval }
ipv6 netstream aggregation timeout active { active-interval | interval-second active-second-interval }
undo ip netstream timeout active
undo ip netstream aggregation timeout active
undo ipv6 netstream timeout active
undo ipv6 netstream aggregation timeout active
Parameter | Description | Value |
---|---|---|
interval-second active-second-interval |
Specifies the active aging time for NetStream flows. |
The value is an integer ranging from 15 to 59, in seconds. If both active and interval-second are specified, the later configured one takes effect. |
ip |
Displays the IPv4 netstream feature. |
- |
aggregation |
Indicates the Netstream aggregation feature. |
- |
active active-interval |
Specifies the active aging time for NetStream flows. |
The value is an integer ranging from 1 to 60, in minutes. |
ipv6 |
Displays the IPv6 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 active time (from flow creation time to the current time) of a flow exceeds the specified active aging time, the flow is exported to the destination end. The life cycle of an active flow depends on the active time. To detect the status of an active flow quickly, set a short active time. This increases the frequency at which NetStream packets are sent. To reduce the frequency at which NetStream packets are sent and improve statistics collecting efficiency, set a long active time. 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.