Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Template ID and Options Template ID for Version 9 and IPFIX Flows

Starting with Junos OS Release 14.1, you can define the template ID for version 9 and IPFIX templates for inline flow monitoring. To specify the template ID for version 9 flows, include the template-id id statement at the [edit services flow-monitoring version9 template template-name] hierarchy level.

Note:

Template ID is implemented differently on SRX Series device. You cannot configure the template ID, instead you should assign the template ID dynamically.

To specify the template ID for version IPFIX flows, include the template-id statement at the [edit services flow-monitoring version-ipfix template template-name] hierarchy level.

To specify the options template ID for version 9 flows, include the options-template-id statement at the [edit services flow-monitoring version9 template template-name] hierarchy level.

To specify the options template ID for version IPFIX flows, include the options-template-id statement at the [edit services flow-monitoring version-ipfix template template-name] hierarchy level. The template ID and options template ID can be a value in the range of 1024 through 65535.

Starting with Junos OS Release 17.2R1, IPFIX templates are supported on QFX10002 switches.

The template ID and options template ID can be a value in the range of 1024 through 65535. If you do not configure values for the template ID and options template ID, default values are assumed for these IDs, which are different for the various address families. If you configure the same template ID or 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 template ID value for both IPv4 and IPv6, the collector validates the export data based on the 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.

The following are the default values of template IDs for IPFIX flows for the different protocols or address families, until Junos OS Release 13.3:

  • IPv4 IPFIX flow template ID—256

  • IPv6 IPFIX flow template ID—257

  • VPLS IPFIX flow template ID—258

  • MPLS IPFIX flow template ID—259

The following are the default values of template IDs for version 9 flows for the different protocols or address families, starting with Junos OS Release 14.1:

  • IPv4 version 9 flow template ID—320

  • IPv6 version 9 flow template ID—321

  • VPLS version 9 flow template ID—322

  • MPLS version 9 flow template ID—323

The following are the default values of template IDs for IPFIX flows for the different protocols or address families, until Junos OS Release 13.3:

  • IPv4 IPFIX flow options template ID—512

  • IPv6 IPFIX flow options template ID—513

  • VPLS IPFIX flow options template ID—514

  • MPLS IPFIX flow options template ID—515

The following are the default values of template IDs for version 9 flows for the different protocols or address families, starting with Junos OS Release 14.1:

  • IPv4 version 9 flow options template ID—576

  • IPv6 version 9 flow options template ID—577

  • VPLS version 9 flow options template ID—578

  • MPLS version 9 flow options template ID—579

Table 1 describes the values of data template and option template IDs for different protocols with default and configured values for IPFIX flows.

Table 1: Values of Template and Option Template IDs for IPFIX Flows

Family

Configured Value

Data Template

Option Template

IPv4

None

256

576

IPv4

1024-65535

1024-65535

1024-65535

IPv6

None

257

577

IPv6

1024-65535

1024-65535

1024-65535

VPLS

None

258

578

VPLS

1024-65535

1024-65535

1024-65535

MPLS

None

259

579

MPLS

1024-65535

1024-65535

1024-65535

Table 2 describes the values of data template and option template IDs for different protocols with default and configured values for version 9 flows.

Table 2: Values of Template and Option Template IDs for Version 9 Flows

Family

Configured Value

Data Template

Option Template

IPv4

None

320

576

IPv4

1024-65535

1024-65535

1024-65535

IPv6

None

321

577

IPv6

1024-65535

1024-65535

1024-65535

VPLS

None

322

578

VPLS

1024-65535

1024-65535

1024-65535

MPLS

None

323

579

MPLS

1024-65535

1024-65535

1024-65535

Table 3 describes the values of data template and option template IDs for different protocols with default and configured values for IPFIX flows.

Table 3: Values of Template and Option Template IDs for IPFIX Flows

Configured Value

Protocol Family

FPC Slot

PFE Inst

LU Inst

Observation Domain Id

Conf val rsvd 1proto slot       LUInst PFEInst

xxxx xxxx xxxx 1xxx xxxx xxxx xxxx xxxx

None

IPv4 (0)

1

1

0

0000 0000 0000 1000 0000 0001 0000 0001 0x00080101

None

IPv6 (1)

1

1

0

0000 0000 0000 1001 0000 0001 0000 0001 0x00090101

None

VPLS (2)

1

1

0

0000 0000 0000 1010 0000 0001 0000 0001 0x000A0101

None

MPLS (3)

1

1

0

0000 0000 0000 1011 0000 0001 0000 0001 0x000B0101

4

IPv4 (0)

1

1

0

0000 0100 0000 1000 0000 0001 0000 0001 0x04080101

190

IPv4 (0)

1

1

0

1101 1110 0000 1000 0000 0001 0000 0001 0xBE080101

4

IPv4 (0)

2

1

1

0000 0100 0000 1000 0000 0010 0001 0001 0x04080211

4

IPv6 (1)

1

1

0

0000 0100 0000 1001 0000 0001 0001 0000 0x04090110

190

IPv6 (1)

1

1

0

1101 1110 0000 1001 0000 0001 0001 0000 0xBE090110

4

VPLS (2)

2

2

0

0000 0100 0000 1010 0000 0010 0010 0000 0x040A0220

10

IPv4 (0)

28

2

1

0000 1010 0000 1000 0001 1100 0010 0001 0x0A081C21

Release History Table
Release
Description
17.2R1
Starting with Junos OS Release 17.2R1, IPFIX templates are supported on QFX10002 switches.