< Home

ip netstream timeout inactive

Function

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.

Format

ip netstream timeout inactive inactive-interval

undo ip netstream timeout inactive

Parameters

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.

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

Example

# Set the inactive aging time to 20 seconds.

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