There are four KVM IPv4 VLAN IPFIX templates: ingress, egress, ingress with tunnel, and egress with tunnel.

IPv4 VLAN Ingress

Template ID: 336. Field count: 48.

The fields are:

  • observationPointId (length: 4)

  • DIRECTION (length: 1)

  • SRC_MAC (length: 6)

  • DESTINATION_MAC (length: 6)

  • ethernetType (length: 2)

  • ethernetHeaderLength (length: 1)

  • INPUT_SNMP (length: 4)

  • Unknown(368) (length: 4)

  • IF_NAME (length: variable)

  • IF_DESC (length: variable)

  • SRC_VLAN (Length: 2)

  • dot1qVlanId (Length: 2)

  • dot1qPriority (Length: 1)

  • IP_PROTOCOL_VERSION (Length: 1)

  • IP_TTL (Length: 1)

  • PROTOCOL (Length: 1)

  • IP_DSCP (Length: 1)

  • IP_PRECEDENCE (Length: 1)

  • IP_TOS (Length: 1)

  • IP_SRC_ADDR (Length: 4)

  • IP_DST_ADDR (Length: 4)

  • 898 (length: variable, PEN: VMware Inc. (6876))

  • flowStartDeltaMicroseconds (length: 4)

  • flowEndDeltaMicroseconds (length: 4)

  • DROPPED_PACKETS (length: 8)

  • DROPPED_PACKETS_TOTAL (length: 8)

  • PKTS (length: 8)

  • PACKETS_TOTAL (length: 8)

  • Unknown(354) (length: 8)

  • Unknown(355) (length: 8)

  • Unknown(356) (length: 8)

  • Unknown(357) (length: 8)

  • Unknown(358) (length: 8)

  • MUL_DPKTS (length: 8)

  • postMCastPacketTotalCount (length: 8)

  • Unknown(352) (length: 8)

  • Unknown(353) (length: 8)

  • flowEndReason (length: 1)

  • DROPPED_BYTES (Length: 8)

  • DROPPED_BYTES_TOTAL (Length: 8)

  • BYTES (Length: 8)

  • BYTES_TOTAL (Length: 8)

  • BYTES_SQUARED (Length: 8)

  • BYTES_SQUARED_PERMANENT (Length: 8)

  • IP LENGTH MINIMUM (Length: 8)

  • IP LENGTH MAXIMUM (Length: 8)

  • MUL_DOCTETS (Length: 8)

  • postMCastOctetTotalCount (Length: 8)

IPv4 VLAN Egress

Template ID: 337. Field count: 52.

The fields are:

  • observationPointId (length: 4)

  • DIRECTION (length: 1)

  • SRC_MAC (length: 6)

  • DESTINATION_MAC (length: 6)

  • ethernetType (length: 2)

  • ethernetHeaderLength (length: 1)

  • INPUT_SNMP (length: 4)

  • Unknown(368) (length: 4)

  • IF_NAME (length: variable)

  • IF_DESC (length: variable)

  • OUTPUT_SNMP (Length: 4)

  • Unknown(369) (Length: 4)

  • IF_NAME (Length: variable)

  • IF_DESC (Length: variable)

  • SRC_VLAN (Length: 2)

  • dot1qVlanId (Length: 2)

  • dot1qPriority (Length: 1)

  • IP_PROTOCOL_VERSION (Length: 1)

  • IP_TTL (Length: 1)

  • PROTOCOL (Length: 1)

  • IP_DSCP (Length: 1)

  • IP_PRECEDENCE (Length: 1)

  • IP_TOS (Length: 1)

  • IP_SRC_ADDR (Length: 4)

  • IP_DST_ADDR (Length: 4)

  • 898 (length: variable, PEN: VMware Inc. (6876))

  • flowStartDeltaMicroseconds (length: 4)

  • flowEndDeltaMicroseconds (length: 4)

  • DROPPED_PACKETS (length: 8)

  • DROPPED_PACKETS_TOTAL (length: 8)

  • PKTS (length: 8)

  • PACKETS_TOTAL (length: 8)

  • Unknown(354) (length: 8)

  • Unknown(355) (length: 8)

  • Unknown(356) (length: 8)

  • Unknown(357) (length: 8)

  • Unknown(358) (length: 8)

  • MUL_DPKTS (length: 8)

  • postMCastPacketTotalCount (length: 8)

  • Unknown(352) (length: 8)

  • Unknown(353) (length: 8)

  • flowEndReason (length: 1)

  • DROPPED_BYTES (Length: 8)

  • DROPPED_BYTES_TOTAL (Length: 8)

  • BYTES (Length: 8)

  • BYTES_TOTAL (Length: 8)

  • BYTES_SQUARED (Length: 8)

  • BYTES_SQUARED_PERMANENT (Length: 8)

  • IP LENGTH MINIMUM (Length: 8)

  • IP LENGTH MAXIMUM (Length: 8)

  • MUL_DOCTETS (Length: 8)

  • postMCastOctetTotalCount (Length: 8)

IPv4 VLAN Ingress with Tunnel

Template ID: 338. Field count: 55.

The fields are:

  • observationPointId (length: 4)

  • DIRECTION (length: 1)

  • SRC_MAC (length: 6)

  • DESTINATION_MAC (length: 6)

  • ethernetType (length: 2)

  • ethernetHeaderLength (length: 1)

  • INPUT_SNMP (length: 4)

  • Unknown(368) (length: 4)

  • IF_NAME (length: variable)

  • IF_DESC (length: variable)

  • SRC_VLAN (Length: 2)

  • dot1qVlanId (Length: 2)

  • dot1qPriority (Length: 1)

  • IP_PROTOCOL_VERSION (Length: 1)

  • IP_TTL (Length: 1)

  • PROTOCOL (Length: 1)

  • IP_DSCP (Length: 1)

  • IP_PRECEDENCE (Length: 1)

  • IP_TOS (Length: 1)

  • IP_SRC_ADDR (Length: 4)

  • IP_DST_ADDR (Length: 4)

  • 893 (length: 4, PEN: VMware Inc. (6876))

  • 894 (length: 4, PEN: VMware Inc. (6876))

  • 895 (length: 1, PEN: VMware Inc. (6876))

  • 896 (length: 2, PEN: VMware Inc. (6876))

  • 897 (length: 2, PEN: VMware Inc. (6876))

  • 891 (length: 1, PEN: VMware Inc. (6876))

  • 892 (length: variable, PEN: VMware Inc. (6876))

  • 898 (length: variable, PEN: VMware Inc. (6876))

  • flowStartDeltaMicroseconds (length: 4)

  • flowEndDeltaMicroseconds (length: 4)

  • DROPPED_PACKETS (length: 8)

  • DROPPED_PACKETS_TOTAL (length: 8)

  • PKTS (length: 8)

  • PACKETS_TOTAL (length: 8)

  • Unknown(354) (length: 8)

  • Unknown(355) (length: 8)

  • Unknown(356) (length: 8)

  • Unknown(357) (length: 8)

  • Unknown(358) (length: 8)

  • MUL_DPKTS (length: 8)

  • postMCastPacketTotalCount (length: 8)

  • Unknown(352) (length: 8)

  • Unknown(353) (length: 8)

  • flowEndReason (length: 1)

  • DROPPED_BYTES (Length: 8)

  • DROPPED_BYTES_TOTAL (Length: 8)

  • BYTES (Length: 8)

  • BYTES_TOTAL (Length: 8)

  • BYTES_SQUARED (Length: 8)

  • BYTES_SQUARED_PERMANENT (Length: 8)

  • IP LENGTH MINIMUM (Length: 8)

  • IP LENGTH MAXIMUM (Length: 8)

  • MUL_DOCTETS (Length: 8)

  • postMCastOctetTotalCount (Length: 8)

IPv4 VLAN Egress with Tunnel

Template ID: 339. Field count: 59.

The fields are:

  • observationPointId (length: 4)

  • DIRECTION (length: 1)

  • SRC_MAC (length: 6)

  • DESTINATION_MAC (length: 6)

  • ethernetType (length: 2)

  • ethernetHeaderLength (length: 1)

  • INPUT_SNMP (length: 4)

  • Unknown(368) (length: 4)

  • IF_NAME (length: variable)

  • IF_DESC (length: variable)

  • OUTPUT_SNMP (Length: 4)

  • Unknown(369) (Length: 4)

  • IF_NAME (Length: variable)

  • IF_DESC (Length: variable)

  • SRC_VLAN (Length: 2)

  • dot1qVlanId (Length: 2)

  • dot1qPriority (Length: 1)

  • IP_PROTOCOL_VERSION (Length: 1)

  • IP_TTL (Length: 1)

  • PROTOCOL (Length: 1)

  • IP_DSCP (Length: 1)

  • IP_PRECEDENCE (Length: 1)

  • IP_TOS (Length: 1)

  • IP_SRC_ADDR (Length: 4)

  • IP_DST_ADDR (Length: 4)

  • 893 (length: 4, PEN: VMware Inc. (6876))

  • 894 (length: 4, PEN: VMware Inc. (6876))

  • 895 (length: 1, PEN: VMware Inc. (6876))

  • 896 (length: 2, PEN: VMware Inc. (6876))

  • 897 (length: 2, PEN: VMware Inc. (6876))

  • 891 (length: 1, PEN: VMware Inc. (6876))

  • 892 (length: variable, PEN: VMware Inc. (6876))

  • 898 (length: variable, PEN: VMware Inc. (6876))

  • flowStartDeltaMicroseconds (length: 4)

  • flowEndDeltaMicroseconds (length: 4)

  • DROPPED_PACKETS (length: 8)

  • DROPPED_PACKETS_TOTAL (length: 8)

  • PKTS (length: 8)

  • PACKETS_TOTAL (length: 8)

  • Unknown(354) (length: 8)

  • Unknown(355) (length: 8)

  • Unknown(356) (length: 8)

  • Unknown(357) (length: 8)

  • Unknown(358) (length: 8)

  • MUL_DPKTS (length: 8)

  • postMCastPacketTotalCount (length: 8)

  • Unknown(352) (length: 8)

  • Unknown(353) (length: 8)

  • flowEndReason (length: 1)

  • DROPPED_BYTES (Length: 8)

  • DROPPED_BYTES_TOTAL (Length: 8)

  • BYTES (Length: 8)

  • BYTES_TOTAL (Length: 8)

  • BYTES_SQUARED (Length: 8)

  • BYTES_SQUARED_PERMANENT (Length: 8)

  • IP LENGTH MINIMUM (Length: 8)

  • IP LENGTH MAXIMUM (Length: 8)

  • MUL_DOCTETS (Length: 8)

  • postMCastOctetTotalCount (Length: 8)