
223
Use the
ipv6 netstream export v9-template refresh-rate time
command to configure the refresh interval
for IPv6 NetStream version 9 templates so that the templates are sent after the specified time period.
Use the
undo ipv6 netstream export version
command to restore the default.
By default, IPv6 NetStream version 9 templates are sent every 30 minutes.
Version 9 is template-based and supports user-defined formats, so the NetStream device needs to send
the 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 is unable to associate the
received statistics with its proper fields. To avoid such situation, configure the refresh interval for version
9 templates so that the NetStream server can refresh them on time.
The refresh frequency and interval can be both configured, and the template is resent when either of the
conditions is reached.
Related commands:
ipv6 netstream export v9-template refresh-rate packet
.
Examples
# Configure the device to wait for 60 minutes before sending NetStream version 9 templates again to the
NetStream server.
<Sysname> system-view
[Sysname] ipv6 netstream export v9-template refresh-rate time 60
ipv6 netstream export version 9
Syntax
ipv6 netstream export version
9
[
origin-as
|
peer-as
] [
bgp-nexthop
]
undo ipv6 netstream export version
View
System view
Default level
3: Manage level
Parameters
origin-as
: Exports the statistics about source autonomous system (AS) and destination AS.
peer-as
: Exports the statistics about the peer ASs.
bgp-nexthop
: Exports statistics about BGP next hops.
Description
Use the
ipv6 netstream export version 9
command to export IPv6 NetStream data in version 9 format,
and choose whether to record data about AS and BGP next hop information.
Use the
undo ipv6 netstream export version
command to restore the default.
By default, version 9 format is used to export IPv6 NetStream traditional data, IPv6 NetStream
aggregation data, and MPLS flow data with IPv6 fields; the peer AS numbers are recorded; the BGP next
hop is not recorded.
An IPv6 NetStream entry for a flow records the source IPv6 address and destination IPv6 address, and
two AS numbers for each IP address. You can configure which AS numbers to be exported as the source
AS and destination AS.