Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

options-template-id

Syntax

Hierarchy Level

Description

Define a unique options template ID to be used for flow aggregation of version 9 and IPFIX flows. After a re-start of the exporting process, the software may re-assign option template IDs.

MX and QFX Series

The options template ID can be a value in the range of 1024 through 65535. If you do not configure values for the options template ID, a default value is assumed for this ID, which is different for the various address families. If you configure the same options template ID value for different address families, such a setting is not processed properly and might cause unexpected behavior. For example, if you configure the same options template ID value for both IPv4 and IPv6, the collector validates the export data based on the options template ID value that it last receives. In this case, if IPv6 is configured after IPv4, the value is effective for IPv6 and the default value is used for IPv4.

PTX Series

If you choose to configure the options template ID, the range is 1024 to 65520. If you do not configure this ID, the default value that is set is in the range 256-511 and is different for each template.

You can configure the option-template-id statement for family inet, inet6, and mpls only.

You must not configure the same ID for different templates (option or data template). The operating system does not check to ensure that you do not configure the same ID value for different templates. If you configure the same ID value, such a setting is not processed properly and might cause unexpected behavior.

The options template ID range [configured options-template-id value + 20) is reserved and you must not configure any another ID in this range. The difference between configured options template IDs across families should be at least 20; for example, if options-template-id 1056 is configured for family inet, you should not configure template IDs in the range of 1056 to 1075 for any other families.

For Junos OS, if you change the options template ID, all flows are inactively timed out. New flows are learned afresh.

For Junos OS Evolved, if you change the options template ID, this change does not impact the flows.

Options

id—Unique identifier for the options template to be used for version 9 or IPFIX flows. The range 0-255 is reserved and is used for template sets, options template sets, and for future expansion. If you do not configure an options template ID, the software generates a template ID for you.

  • Range: 1024 through 65,535

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 14.1.

Statement introduced in Junos OS Evolved Release 22.4R1.