Configuring the Version 9 Template Properties
To define the version 9 templates, include the following statements at the
[edit services flow-monitoring version9]hierarchy level:services {flow-monitoring {version9 {templatename{flow-active-timeoutseconds;flow-inactive-timeoutseconds;option-refresh-rate packetspacketssecondsseconds;template-refresh-rate packetspacketssecondsseconds;(ipv4-template | mpls-ipv4-template | mpls-template) {label-position [label];}}}}}The following details apply to the configuration statements:
- You assign each template a unique name by including the
templatenamestatement.- You then specify each template for the appropriate type of traffic by including the
ipv4-template,mpls-ipv4-template, ormpls-template statement.- If the template is used for MPLS traffic, you can also specify up to three label positions for the MPLS header label data by including the
label-positionstatement; the default values are[1 2 3].- Within the template definition, you can optionally include values for the
flow-active-timeoutandflow-inactive-timeoutstatements. These statements have specific default and range values when they are used in template definitions; the default is 60 seconds and the range is from 10 through 600 seconds. Values you specify in template definitions override the global timeout values configured at the[edit forwarding-options sampling output cflowd]hierarchy level.- You can also include settings for the
option-refresh-rateandtemplate-refresh-ratestatements within a template definition. For both of these properties, you can include a timer value (in seconds) or a packet count (in number of packets). For thesecondsoption, the default value is 60 and the range is from 10 through 600. For thepacketsoption, the default value is 4800 and the range is from 1 through 480,000.