IPFIX message format
An IPFIX Message consists of a Message Header, followed by one or more Sets. The Sets can be any of the possible three types - Data Set, Template Set, or Options Template Set.
An IPFIX Message consisting of interleaved Template, Data, and Options Template Sets.
IPFIX message header format
| Header field | Description |
|---|---|
Version |
Version of Flow Record format that is exported in this message. The value of this field is 0x000a for the current version, incrementing by one the version that is used in the NetFlow services export version 9 |
Length |
Total length of the IPFIX Message, which is measured in octets, including Message Header and Sets. |
Export Time |
Time, in seconds, since 0000 Coordinated Universal Time Jan 1, 1970, at which the IPFIX Message Header leaves the Exporter. |
Sequence Number |
Incremental sequence counter-modulo 2^32 of all IPFIX Data Records sent on this PR-SCTP stream from the current Observation Domain by the Exporting Process. Check the specific meaning of this field in the subsections of Section 10 when UDP or TCP is selected as the transport protocol. This value must be used by the Collecting Process to identify whether any IPFIX Data Records are missed. Template and Options Template Records do not increase the Sequence Number. |
Observation Domain ID |
|
IPFIX Set format
An IPFIX message consists of a message header followed by multiple Sets of different types. A Set is a generic term for collection of records that have a similar structure. There are three types of Sets - Data Set, Template Set, and Options Template Set. Each oif these have a Set header and one or more records.
| Header | Description |
|---|---|
Set ID |
|
Length |
Total length of the Set, in octets, including the Set Header,
all records, and the optional padding. Because an individual Set MAY
contain multiple records, the Length value must be
used to determine the position of the next Set. |
- Data Set
- Template Set
- Options Template Set