Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Inline Sampling on MX80 Routers

To configure inline sampling on MX80 routers:

  1. 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-ins1

    Note: MX80 routers support only one sampling instance.

  2. 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
  3. 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
  4. 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
  5. 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
  6. 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:

[edit forwarding-options]user@host# show
sampling {instance {sample-ins1 {input {rate 1000;}family inet {output {flow-server 133..13.13.122{port 1333;inline-jflow {source-address 10.11.12.13;}}}}}}

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.

Published: 2014-01-31

Supported Platforms

Published: 2014-01-31