268
To configure the IPv6 NetStream data export format:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the IPv6
NetStream data export
format, and specify whether
to record AS and BGP next
hop information.
•
Configure the version 9
format:
ipv6 netstream export
version
9
{
origin-as
|
peer-as
} [
bgp-nexthop
]
•
Configure the version 10
format:
ipv6 netstream export
version
10
[
origin-as
|
peer-as
] [
bgp-nexthop
]
By default:
•
The version 9 format is used
to export IPv6 NetStream
data.
•
The peer AS numbers are
recorded.
•
The BGP next hop is not
recorded.
Configuring the refresh rate for IPv6 NetStream version 9 or
version 10 template
Version 9 and version 10 are template-based and supports user-defined formats. An IPv6 NetStream
device must send the updated template to NetStream servers regularly, because the servers do not
permanently save templates.
For an NetStream server to use correct version 9 or version 10 template, configure the time-based or
packet count-based refresh rate. If both settings are configured, the template is sent when either of
the conditions is met.
To configure the refresh rate for IPv6 NetStream version 9 or version 10 template:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the refresh rate for
IPv6 NetStream version 9 or
version 10 template.
•
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 packet
count-based refresh rate is
20 packets, and the
time-based refresh interval is
30 minutes.
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 events occur:
The inactive flow entry is aged out.