Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


template (Inline Monitoring)


Hierarchy Level


Configure template for inline monitoring services.



Name of the template.

flow-inactive-timeout seconds

Inactive-timeout period for a flow, in seconds. Once there is no active traffic for a flow, the flow is aged out after the configured inactive-timeout period.


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. Specify the observation domain identifier here rather than at the [edit system packet-forwarding-options] hierarchy level if you want to able to change the observation domain identifier without having to reboot the system.

  • Default: 0

  • Range: 1 through 255

option-template-id option-template-id

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

template-id template-id

Template ID.

  • Default: 384

  • Range: 1024 through 65535

template-refresh-rate seconds

Refresh rate in seconds.

  • Default: 600 seconds

  • Range: 10 through 600 seconds

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.