Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- CSE Series
- Example: Configuring Active Flow Monitoring Version 9 for IPv4
- Example: Configuring Active Flow Monitoring Version 9 for IPv6
- Example: Configuring Active Flow Monitoring Version 9 for MPLS
- Example: Configuring Active Flow Monitoring Version 9 for MPLS and IPv4
- Example: Configuring Active Flow Monitoring Version 9 for Simultaneous IPv4, MPLS, and IPv6 Sampling
- Example: Configuring Active Flow Monitoring Version 9 on PTX3000 and PTX5000 When Both Are Tethered to a CSE2000
- PTX Series
- Example: Configuring Active Flow Monitoring Version 9 for IPv4
- Example: Configuring Active Flow Monitoring Version 9 for IPv6
- Example: Configuring Active Flow Monitoring Version 9 for MPLS
- Example: Configuring Active Flow Monitoring Version 9 for MPLS and IPv4
- Example: Configuring Active Flow Monitoring Version 9 for Simultaneous IPv4, MPLS, and IPv6 Sampling
- Example: Configuring Active Flow Monitoring Version 9 on PTX3000 and PTX5000 When Both Are Tethered to a CSE2000
Configuring Active Flow Monitoring Version 9 Templates
Active flow monitoring version 9, which is based on RFC 3954, provides a way to organize flow data into templates. It also provides a way to actively monitor IPv4, IPv6, and MPLS flows.
To activate templates in flow monitoring, you must configure a template and include that template in the version 9 flow monitoring configuration. On PTX5000 or PTX3000 routers with CSE2000, Junos OS supports template configuration for IPv4, IPv6, MPLS, and MPLS-IPv4 traffic.
To configure active flow monitoring version 9:
- To configure a version 9 template, assign each template
a unique name by including the template template-name statement at the [edit services flow-monitoring version9] hierarchy level.[edit services flow-monitoring version9]user@host# set template template-name
- Configure the active timeout and the inactive timeout
values for the flows by including the flow-active-timeout and flow-inactive-timeout statements at the [edit
services flow-monitoring version9 template template-name] hierarchy level.
- If the interval between the time the last packet was received and the time the flow was last exported exceeds the configured active timeout value, the flow is exported to the flow server.
- If the interval between the current time and the time that the last packet for this flow was received exceeds the configured inactive timeout value, the flow is allowed to expire.
[edit services flow-monitoring version9 template template-name]user@host# set flow-active-timeout secondsuser@host# set flow-inactive-timeout seconds - To export the flow records in a template to the flow server,
specify each template for the appropriate type of traffic by including
the ipv4-template, ipv6-template, mpls-template, or mpls-ipv4-template statement at the [edit services
flow-monitoring version9 template template-name] hierarchy level. If the template is used for MPLS traffic,
you can also specify label positions for the MPLS header label data
by including the label-position statement.[edit services flow-monitoring version9 template template-name]user@host# set ipv4-template user@host# set ipv6-template user@host# set mpls-template label-position [ 1 2 ]user@host# set mpls-ipv4-template label-position [ 1 2 ]
- Configure the rate at which the router sends template
definitions and options to the flow server for IPv4, IPv6, or MPLS
traffic. Because version 9 flow monitoring traffic is unidirectional
from the router to the flow server, configure the router to send template
definitions and options, such as sampling rate, to the flow server. [edit services flow-monitoring version9 template template-name]user@host# set template-refresh-rate (packets packets | seconds seconds)user@host# set option-refresh-rate (packets packets | seconds seconds)
Related Documentation
- CSE Series
- Example: Configuring Active Flow Monitoring Version 9 for IPv4
- Example: Configuring Active Flow Monitoring Version 9 for IPv6
- Example: Configuring Active Flow Monitoring Version 9 for MPLS
- Example: Configuring Active Flow Monitoring Version 9 for MPLS and IPv4
- Example: Configuring Active Flow Monitoring Version 9 for Simultaneous IPv4, MPLS, and IPv6 Sampling
- Example: Configuring Active Flow Monitoring Version 9 on PTX3000 and PTX5000 When Both Are Tethered to a CSE2000
- PTX Series
- Example: Configuring Active Flow Monitoring Version 9 for IPv4
- Example: Configuring Active Flow Monitoring Version 9 for IPv6
- Example: Configuring Active Flow Monitoring Version 9 for MPLS
- Example: Configuring Active Flow Monitoring Version 9 for MPLS and IPv4
- Example: Configuring Active Flow Monitoring Version 9 for Simultaneous IPv4, MPLS, and IPv6 Sampling
- Example: Configuring Active Flow Monitoring Version 9 on PTX3000 and PTX5000 When Both Are Tethered to a CSE2000