
232
The refresh frequency and the refresh interval can both be configured. The template is resent when either
of the conditions is reached.
To configure the refresh rate for IPv6 NetStream version 9 templates:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Configure the refresh
rate for IPv6 NetStream version
9 templates.
•
Refresh frequency:
ipv6 netstream export
v9-template refresh-rate packet
packets
•
Refresh interval:
ipv6 netstream export
v9-template refresh-rate time
minutes
By default, the version 9
templates are sent:
•
Every 20 packets.
•
Every 30 minutes.
Configuring MPLS-aware NetStream
An MPLS flow is identified by the same labels in the same position and the same 8-tuple elements.
MPLS-aware NetStream collects and exports statistics on a maximum of three labels in the label stack,
with or without IP fields.
To configure MPLS-aware IPv6 NetStream:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Collect and export
statistics on MPLS
packets.
ip netstream mpls
[
label-positions
label-position1
[
label-position2
[
label-position3
] ]
]
[
no-ip-fields
]
By default, statistics of
MPLS packets are not
collected or exported.
Configuring IPv6 NetStream flow aging
Flow aging methods
Periodical aging
Periodical aging has the following methods:
•
Inactive flow aging
—A flow is inactive if no packet arrives for the IPv6 NetStream entry within the
period specified by using the
ipv6 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 ipv6 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 IPv6 NetStream entry within the period
specified by using the
ipv6 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