Configuration Procedure - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Inactive flow aging—A flow is inactive if no packet arrives for this NetStream entry within the
period specified by using the ip netstream timeout inactive command. When the inactive flow
aging timer expires, the following situations occur:
The inactive flow entry is aged out.
The statistics of the flow are sent to NetStream servers. The statistics can no longer be displayed
by using the display ip netstream cache command.
When you use the inactive flow aging method, the cache is large enough for new flow entries.
Active flow aging—A flow is active if packets arrive for the NetStream entry within the period
specified by using the ip netstream timeout active command. When the active flow aging timer
expires, the statistics of the active flow are exported to NetStream servers. The device continues to
collect active flow statistics, which can be displayed by using the display ip netstream cache
command. The active flow aging method periodically exports the statistics of active flows to
NetStream servers.
Forced aging
To implement forced aging, use one of the following commands:
Use the reset ip netstream statistics command. This command ages out all NetStream entries, and
exports and clears the statistics.
Use the ip netstream max-entry command. This command provides the following processing
options when the upper limit is reached:
Age out the entries.
Disable creation of a new entry in the cache.
TCP FIN- and RST-triggered aging
TCP FIN- and RST-triggered aging is automatically performed when a TCP connection is terminated.
A TCP connection is terminated when a packet with a FIN or RST flag is received.
When a packet with a FIN or RST flag is recorded for a flow with an existing NetStream entry, the entry
is immediately aged out, exported, and cleared.
However, when the first packet of a flow has a FIN or RST flag, a new NetStream entry is created instead
of being aged out. This type of aging is always enabled, and it cannot be disabled.

Configuration procedure

To configure flow aging:
Step
1.
Enter system view.
2.
(Optional.) Configure
periodical aging.
Command
system-view
Set the aging timer for active flows:
ip netstream timeout active minutes
Set the aging timer for inactive flows:
ip netstream timeout inactive seconds
216
Remarks
N/A
By default:
The aging timer for active
flows is 30 minutes.
The aging timer for
inactive flows is 30
seconds.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents