beautypg.com

Configuring ipv6 netstream flow aging, Flow aging approaches, Periodical aging – H3C Technologies H3C SR8800 User Manual

Page 172: Forced aging

background image

160

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure to count and

export statistics on MPLS
packets.

ip netstream mpls [ label-positions
{ label-position1 [ label-position2 ]

[ label-position3 ] } ] [ no-ip-fields ]

By default, no statistics about
MPLS packets are counted and

exported.

NOTE:

Collection of NetStream MPLS packet statistics is supported only when NetStream is enabled.

To collect statistics about MPLS packets carrying IPv4 data, enable IPv4 NetStream.

To collect statistics about MPLS packets carrying IPv6 data, enable IPv6 NetStream.

To collect statistics about MPLS packets carrying neither IPv4 nor IPv6 data, enable IPv4 NetStream.

On a NAM card, to collect statistics about MPLS packets carrying non-IPv4 data, enable IPv4
NetStream. Only the statistics about labels are collected.

Configuring IPv6 NetStream flow aging

Flow aging approaches

Three types of IPv6 NetStream flow aging are available:

Periodical aging

Forced aging

TCP FIN- and RST-triggered aging

(it is automatically triggered when a TCP connection is

terminated)

Periodical aging

Periodical aging uses two approaches:

Inactive flow aging
A flow is considered inactive if its statistics have not been changed. No packet for this IPv6
NetStream entry arrives in the time specified by the ipv6 netstream timeout inactive command. The

inactive flow entry remains in the cache until the inactive timer expires. Then the inactive flow is

aged out and its statistics, which can no longer be displayed by the display ipv6 netstream cache

command, are sent to the NetStream server. The inactive flow aging guarantees the cache is big
enough for new flow entries.

Active flow aging
An active flow is aged out when the time specified by the ipv6 netstream timeout active command
is reached, and its statistics are exported to the NetStream server. The device continues to count

the active flow statistics, which can be displayed by the display ipv6 netstream cache command.

The active flow aging exports the statistics of active flows to the NetStream server.

Forced aging

The reset ipv6 netstream statistics command ages out all IPv6 NetStream entries in the cache and clears
the statistics. This is forced aging. Alternatively, use the ipv6 netstream max-entry command to configure

aging out of entries in the cache when the maximum number of entries is reached.