< Home

ip netstream timeout active

Function

The ip netstream timeout active command configures the active flow aging time.

The undo ip netstream timeout active command restores the default setting.

By default, the active flow aging time is 200 seconds.

Format

ip netstream timeout active active-interval

undo ip netstream timeout active

Parameters

Parameter Description Value

active-interval

Specifies the active aging time.

The value is an integer that ranges from 1 to 300, in seconds. The default is 200.

Views

System view

Default Level

3: Management level

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 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.

To quickly detect the status of an active flow, set the active 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 active time to a large value.

Precautions

If you set multiple aging modes on the device, a flow is aged when it matches any criterion.

Example

# Set the active aging time to 240 seconds.

<HUAWEI> system-view
[HUAWEI] ip netstream timeout active 240
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >