I need to enable some of the Cisco IOS XR devices in the network to send netflow information to the collector, but the collector requires receive traffic statistics every 5 minutes from the devices. So I am not sure if Cisco IOS XR devices (12K and ASR9K) support time-based method for sample netflow and what are the guidelines for implement this method in a successful way.
Hope your support!
Thanks for your suggestion, does it might work if I configure netflow sample mode for send 1 out-of n packets?, for example: 1 out-of 1000
Netflow sampling does not control timer to send netflow stats to collector. Sampling is undetermined variable, it could give impact to the performance depending on how much the traffic is sampled. So, be considerate when setting sampling. According to documentation, for optimal performance, the recommended value is 1 out-of 10000.
Export the flow template might do the trick as Jake mentioned. The command is 'template data timeout 60' under flow exporter-map command.