Symptom
The netflow exporter is not sending any packtets towards the colletor - even though output of "show flow exporter" shows increasing number of packtets sent.
Conditions
The netflow "flow exporter" was initially configured with a given destination IP and vrf.
Exporter was used under configured "flow monitor"
Flow monitor is applied on the interfaces.
At this point the "flow exporter" config is modified - destination IP (and possibly) vrf are chnaged.
After the change the exporter is no longer sending any flows towards the collector.
Workaround
1. Take the "flow monitor" off from the physical interfaces.
Remove the "exporter" from the "flow monitor" configuration.
Remove and re-create the "flow exporter" with the correct configuration.
Further Problem Description
While observing the issue the counters of exported data increase (Flow Records, Templates, Packets, Bytes), however ethanalyzer doesn't show any packets sent out:
****************************
SWITCH(config-flow-exporter)# sh flow exporter
Flow timeout 10
Flow exporter EXP:
Destination: 10.10.10.7
VRF: default (1)
Destination UDP Port 4729
Source Interface Vlan1000 (10.0.1.6)
Export Version 9
Sequence number 25
Data template timeout 20 seconds
Exporter Statistics
Number of Flow Records Exported 6 <<<< counters increasing
Number of Templates Exported 6
Number of Export Packets Sent 8
Number of Export Bytes Sent 520
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
Number of Packets Dropped (other) 0
Number of Packets Dropped (LC to RP Error) 0
Number of Packets Dropped (Output Drops) 0
Time statistics were last cleared: Never
Feature Prio: Netflow
****************************
ethanalyzer local interface inband display-filter udp.port==4729 limit-captured-frames 0
(no packets displayed here :: udp port in the filter matches configured exporter destiantion port)
ethanalyzer local interface inband display-filter udp.port==4729 limit-captured-frames 0