R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

154
Forced aging
Use the reset ipv6 netstream statistics command to age out all IPv6 NetStream entries in the cache and
to clear the statistics. This is forced aging. Alternatively, use the ipv6 netstream max-entry command to
configure aging out of entries in the cache if the maximum number of entries is reached.
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.
If 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 it cannot be disabled.
Configuration procedure
To configure flow aging:
Ste
p
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
seconds
Set the aging timer for inactive
flows:
ipv6 netstream timeout inactive
seconds
Optional.
By default:
The aging timer for active flows is
1800 seconds.
The aging timer for inactive flows is
30 seconds.
3. Configure forced
aging of the IPv6
NetStream entries.
a. Set the maximum entries that
the cache can
accommodate, and the
processing method if 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 cache can
accommodate a maximum of 620000
entries, and the device ages out the
entries when the upper limit is reached.
The ipv6 netstream max-entry
command is only supported on 6602
and HSR6602 routers.
The reset ipv6 netstream statistics
command also clears the cache.
Displaying and maintaining IPv6 NetStream
Task Command
Remarks
Display IPv6 NetStream entry
information in the cache.
display ipv6 netstream cache [ verbose ]
[ slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display information about IPv6
NetStream data export.
display ipv6 netstream export [ | { begin |
exclude | include } regular-expression ]
Available in any view.