beautypg.com

Tcp fin- and rst-triggered aging, Configuring ipv6 netstream flow aging, Configuring ipv6 netstream data export – H3C Technologies H3C SR8800 User Manual

Page 173: Configuring ipv6 netstream traditional data export

background image

161

TCP FIN- and RST-triggered aging

For a TCP connection, when a packet with a FIN or RST flag is sent out, it means that a session is finished.

Therefore, when a packet with a FIN or RST flag is recorded for a flow with the IPv6 NetStream entry
already created, the flow is aged out immediately. However, if the packet with a FIN or RST flag is the first

packet of a flow, a new IPv6 NetStream entry is created instead of being aged out. This type of aging is

enabled by default, and cannot be disabled.

Configuring IPv6 NetStream flow aging

To configure flow aging:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure periodical aging.

Set the aging timer for active flows:
ipv6 netstream timeout active minutes

Set the aging timer for inactive flows:
ipv6 netstream timeout inactive seconds

Optional.
By default:

The aging timer for

active flows is 30
minutes.

The aging timer for
inactive flows is 30

seconds.

3.

Configure forced aging of

the IPv6 NetStream entries.

a.

Set the maximum number of entries that
the cache can accommodate, and the

processing method when the upper limit

is reached:
ipv6 netstream max-entry { max-entries

| aging | disable-caching }

b.

Exit to user view:

quit

c.

Configure forced aging:
reset ipv6 netstream statistics

Optional.
By default, the

maximum number of
entries are 409600.
The reset ipv6
netstream statistics

command also clears

the cache.

Configuring IPv6 NetStream data export

To allow the NDE to export collected statistics to the NetStream server, configure the source interface out
of which the data is sent and the destination address to which the data is sent.

Configuring IPv6 NetStream traditional data export

Before configuring the IPv6 NetStream traditional data export, enable IPv6 NetStream first.