205By default, version 9 templates are resent every 30 minutes.Version 9 is template-based and supports user-defined formats, so the NetStream-enabled device needsto send the new template to the NetStream server for an update. If the version 9 format is changed on theNetStream-enabled device and not updated on the NetStream server, the server is unable to associatethe received statistics with its proper fields. To avoid such situation, configure the refresh interval forversion 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 thecondition is reached.Related commands: ip netstream export v9-template refresh-rate packet.Examples# Configure the device to wait for 60 minutes before sending NetStream version 9 templates again to theNetStream server. system-view[Sysname] ip netstream export v9-template refresh-rate time 60ip netstream export versionSyntaxip netstream export version 5 [ origin-as | peer-as ]ip netstream export version 9 [ origin-as | peer-as ] [ bgp-nexthop ]undo ip netstream export versionViewSystem viewDefault level3: Manage levelParametersorigin-as: Exports statistics of the source AS originating the route for the source address, and thedestination AS for the destination address.peer-as: Exports statistics of the peer ASs for the source and destination address .bgp-nexthop: Exports statistics about BGP next hops.DescriptionUse the ip netstream export version 5 command to export NetStream data in version 5 format, andchoose whether to record data about AS information. A NetStream entry for a flow records the source IPaddress and destination IP address, and two AS numbers for each IP address. You can choose toconfigure which AS numbers to be exported as the source AS and destination AS.Use the ip netstream export version 9 command to export NetStream data in version 9 format, andchoose whether to record data about AS and BGP next hop information. Statistics about BGP next hopcan be exported in version 9 format only.Use the undo ip netstream export version command to restore the default.By default, NetStream traditional data export uses version 5 format; NetStream aggregation data exportuses version 8 format; MPLS flow data are not exported; the peer AS numbers are exported; the BGP nexthop is not exported.