Configuring Versions for Exported Packets
Procedure
- Run the system-view command to enter the system view.
- Run the ip netstream export
version version [ origin-as | peer-as ] [ bgp-nexthop ] command to configure the version and
AS option of the exported packets carrying IPv4 original flow statistics.
By default, V5 supports the exported packets carrying flow statistics without the AS option. V5 packets do not carry BGP next hop information.
Currently, only V9 supports the exported packets carrying BGP next hop information.
After a NetStream server with V9 configured restarts, you can run the refresh netstream template command in the user view to enable the switch to resend NetStream export template.
- (Optional) Run the ip netstream
export template timeout-rate timeout-interval command to configure the interval at which the switch sends the
NetStream export template to the NetStream server when IPv4 original
flow statistics is exported in NetStream V9.
By default, the switch sends the NetStream export template to the NetStream server at the interval of 30 minutes.