An IPFIX/JFLOW v9 collector can raise a false positive 'missed export packets from the exporter' alarm (the exact alarm wording and appearance may vary) for an MX-based exporter once it performs inline IPFIX/JFLOW v9 sampling. This article does NOT apply to the following scenarios:
The following explanation is for JFLOW v9 and also applies to IPFIX.
According to RFC-3954, 'Cisco Systems NetFlow Services Export Version 9' dictates that:
The exporter is an MX performing inline IPFIX or JFLOW v9
The Sequence Number in Flow Data packets increment monotonically as +1 in every packet the MX issues
Options Template/Options Data packets the MX issues have the Sequence Number from another space, e.g. the export packets flow can look like this:
* Frames 1...8, Data: sequences 49639...49646, expected;
* Frame 9, Data Template: sequence 49647, expected;
* Frame 10, Options Template: sequence 6985 instead of expected 49648;
* Frame 11, Options Data: sequence 6985 instead of expected 49649;
* Frame 12, Data: sequence 49647 instead of expected 49650;
* Frames 13...20: Data, sequences 49648...49654;
* Frame 21, Options Template: sequence 6986.
* Etc.
A PTX router equipped with the hardware which supports inline IPFIX or JFLOW v9 does not expose this out of Sequence problem once it's sampling the same data and configured just as the MX is.
A day-1 limitation of MX inline sampling implementation. PTX does not expose this problem due to a different inline sampling implementation.
There is no intent to address this limitation at the flow exporter side (JUNIPER MX). Usually, a flow collector can cope with this Sequence Numbers issue once it is configured for that. It is recommended to use the respective flow collector vendor supporting resources to configure the collector to handle this limitation properly.