Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

primary-data-record-fields

Syntax

Hierarchy Level

Description

Configure which IPFIX information elements (IEs) to include in the primary data record, which is exported by the data path and contains the specific properties seen by the data path, either from the sampled packet or the packet notification header or context. With this statement, each inline-monitoring instance can export IPFIX packets using a different, customized data template, resulting in a custom set of IEs in the IPFIX packets for each instance. The fields are encoded using one or more Common Properties IDs. As per RFC 5473, the primary data record is exported using the IPFIX data template.

Default

datalink-frame-section—Datalink Frame Section (IE 315) is always included in the primary data record.

Options

name

Configure which IPFIX information elements (IEs) to include in the primary data record. Per RFC 5102, the Common Properties ID (CPID) is an identifier of a set of common properties that is locally unique per observation domain and transport session.

  • cpid-egress-interface-index—CPID Egress Interface Index (IE 137); reports zero value when ingress monitoring

  • cpid-forwarding-class-drop-priority—CPID Forwarding Class Drop Priority (IE 137)

  • cpid-forwarding-exception-code—CPID Forwarding Exception Code (IE 137)

  • cpid-forwarding-nexthop-id—(Junos OS only) CPID Forwarding Nexthop ID (IE 137)

  • cpid-ingress-interface-index—CPID Ingress Interface Index (IE 137)

  • cpid-underlying-ingress-interface-index—(Junos OS only) CPID Underlying Ingress Interface Index (IE 137); reports a zero value when egress monitoring or if this value is not available in the data path.

  • datalink-frame-size—(Junos OS only) Datalink Frame Size (IE 312)

  • direction—Flow direction (IE 61)

  • egress-interface-snmp-id—Egress Interface SNMP ID (IE 14); reports zero value when ingress monitoring

  • ingress-interface-snmp-id—Ingress Interface SNMP ID (IE 10)

Additional Information

Table 1: Values Reported for Aggregated Ethernet (AE) Interfaces
CPID Ingress on AE Interface Egress on AE Interface
ingressInterfaceIndex Logical interface index of the AE interface Logical interface index of the AE interface
underlyingIngressInterfaceIndex (Junos OS only) Logical interface index of member link 0
egressInterfaceIndex 0 Logical interface index of member link
Table 2: Values Reported for IRB Interfaces
CPID Ingress on IRB Interface Egress on IRB interface
ingressInterfaceIndex Logical interface index of the IRB interface Logical interface index of ingress interface
underlyingIngressInterfaceIndex (Junos OS only) Logical interface index of vlan-bridge encapsulated interface 0
egressInterfaceIndex 0 Logical interface index of vlan-bridge encapsulated interface

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 21.2R1.

Statement introduced in Junos Evolved OS Release 22.2R1.