Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

template (Inline Monitoring)

Syntax (Junos OS)

Syntax (Junos OS Evolved)

Hierarchy Level

Description

Configure template for inline monitoring services.

Options

name

Name of the template.

flow-inactive-timeout seconds

(EX switches only) Configure the inactive-timeout period for a flow, in seconds, for flow-based telemetry. Once there is no active traffic for a flow, the flow is aged out after the configured inactive-timeout period.

flow-monitoring

(EX switches only) Configure flow-based telemetry. See flow-monitoring (Inline Monitoring Services) for more information.

observation-domain-id observation-domain-id

Significant one byte of observation domain ID used to uniquely identify the exporting process. The other three bytes are system generated and are unique within the chassis.

  • Default: 0

  • Range: 1 through 255

option-template-id option-template-id

(Junos OS only) Option template ID. For Junos OS Evolved, the system generates the option template ID.

  • Default: 640

  • Range: 1024 through 65535

option-template-refresh-rate seconds

Option refresh rate in seconds.

  • Default: 600 seconds

  • Range: 10 through 600 seconds

primary-data-record-fields name

Configure which IPFIX information elements (IEs) to include in the primary data record for Juniper Resiliency Interface. See primary-data-record-fields for more information.

template-id template-id

(Junos OS only) Template ID. For Junos OS Evolved, the system generates the template ID.

  • Default: 384

  • Range (EX4400): 1024 through 65535

  • Range (EX4100 and EX4100-F): 32768 through 32831

template-refresh-rate seconds

Refresh rate in seconds.

  • Default: 600 seconds

  • Range: 10 through 600 seconds

template-type (ipv4-template | ipv6-template) (QFX5120 only, Junos OS only) For flow-based telemetry for VXLANs, specify that the template is for either IPv4 or IPv6 traffic.

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 19.4R1.

flow-inactive-timeout and flow-monitoring options introduced in Junos OS Release 21.1R1.

primary-data-record-fields option introduced in Junos OS Release 21.2R1.

Statement introduced in Junos OS Evolved Release 22.2R1 for PTX Series routers.

template-type option introduced in Junos OS Release 22.2R1.