Supported Platforms
Related Documentation
- M, SRX, T Series
- inline-jflow
- MX Series
- Configuring Flow Aggregation to Use IPFIX Flow Templates
- Configuring Inline Sampling
Configuring Inline Sampling on MX80 Routers
To configure inline sampling on MX80 routers:
- Associate a sampling instance with the Forwarding Engine
Processor.[edit]user@host# set chassis tfeb slot number sampling-instance sampling-instance
The Forwarding Engine Processor slot is always 0 because MX80 routers have only one Packet Forwarding Engine. In this configuration, the sampling instance is sample-ins1.
[edit]user@host# set chassis tfeb slot 0 sampling-instance sample-ins1Note: MX80 routers support only one sampling instance.
- Under forwarding-options, configure a sampling instance
for the flow server and inline jflow instances (these will be configured
in the following steps):[edit forwarding-options sampling]user@host# edit instance inline_sample
- Configure the rate at the [edit forwarding-options sampling instance instance-name input] hierarchy level to apply
specific values for the sampling instance sample-ins1.[edit forwarding-options sampling instance sample-ins1 input]user@host# set rate number
In this configuration, the rate is 1000.
[edit forwarding-options sampling instance sample-ins1 input]user@host# set rate 1000 - Navigate to the output hierarchy and from there, enable
a flow server and then specify the output address and port:[edit] forwarding-options sampling instance inline_sample family inet output] user@host# edit flow-server address[edit forwarding-options sampling instance inline_sample family inet output flow-server <address>]user@host# set port number
- Return to the output hierarchy and specify the source
address for inline jflow:[edit forwarding-options sampling instance sample-ins1 family inet output]user@host# set inline-jflow source-address address
In this configuration, the source address is 10.11.12.13.
[edit forwarding-options sampling instance sample-ins1 family inet output]user@host# set inline-jflow source-address 10.11.12.13 - Specify the output properties.[edit services flow-monitoring]user@host# set version-ipfix
The output format properties are common to other output formats and are described in “Configuring Flow Aggregation to Use IPFIX Flow Templates”.
The following is an example of the sampling configuration for an instance that supports inline sampling on MX80 routers:
![]() | Note: You need not configure a Flexible PIC Concentrator (FPC) slot because MX80 routers have only one Packet Forwarding Engine. |
The following considerations apply to the inline flow-monitoring instance configuration:
- This configuration does not support MPLS-IPv6.
- Clip-size is not supported.
Related Documentation
- M, SRX, T Series
- inline-jflow
- MX Series
- Configuring Flow Aggregation to Use IPFIX Flow Templates
- Configuring Inline Sampling
Published: 2014-01-31
Supported Platforms
Related Documentation
- M, SRX, T Series
- inline-jflow
- MX Series
- Configuring Flow Aggregation to Use IPFIX Flow Templates
- Configuring Inline Sampling