R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

153
Configuring the refresh rate for IPv6 NetStream version 9
templates
Version 9 is template-based and supports user-defined formats, so the NetStream device needs to resend
a new template to the NetStream server for an update. If the version 9 format is changed on the
NetStream device and not updated on the NetStream server, the server cannot associate the received
statistics with its proper fields. To avoid this situation, configure the refresh frequency and rate for version
9 templates so that the NetStream server can refresh the templates on time.
The refresh frequency and interval can be both configured, and the template is resent when either of the
condition is reached.
To configure the refresh rate for IPv6 NetStream version 9 templates:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Configure the refresh
frequency for NetStream
version 9 templates.
ipv6 netstream export v9-template
refresh-rate packet packets
Optional.
By default, the version 9 templates
are sent every 20 packets.
3. Configure the refresh
interval for NetStream
version 9 templates.
ipv6 netstream export v9-template
refresh-rate time minutes
Optional.
By default, the version 9 templates
are sent every 30 minutes.
Configuring IPv6 NetStream flow aging
Flow aging methods
The following types of IPv6 NetStream flow aging are available:
Periodical aging
Forced aging
TCP FIN- and RST-triggered aging (a
utomatically triggered if a TCP connection is terminated)
Periodical aging
Periodical aging uses the following methods:
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 ensures 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.