primary-data-record-fields
Syntax
primary-data-record-fields { name; }
Hierarchy Level
[edit services inline-monitoring template template-name]
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.
IEs 10, 14, 61, and 312
are included in the primary data record when the export-by-asic
and the
primary-data-fields
statements are not
configured.
For the PTX10002-36QDD router, to configure fields in the primary data record, use the
export-by-asic
statement instead. Fields configured using the
primary-data-record-fields
statement are ignored. The system reports IEs
as listed in IE fields reported when
you configure the export-by-asic
statement.
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.
|
Additional Information
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 |
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.
cpid-state-byte
, auxiliary_egnh_id
,
timestamp_low
, timestamp_high
,
cpid-lookup-type-trapcode
, cpid-layer3-vpn
,
cpid-egress-nexthop-id
, and observation-time-nano-sec
options introduced in Junos OS Evolved Release 24.4R1.