Network Management

NTA - How to configure Juniper SRX devices to export J-Flow

This article provides an example of configuring J-Flow on an SRX Series device. NOTE: SRX devices support J-Flow versions 5 and 8. SolarWinds Netflow only supports and will process J-Flow version 5.

First published date

10/19/2018 5:02 PM

Last published date

10/19/2018 5:02 PM

Overview

This article provides an example of configuring J-Flow on an SRX Series device. NOTE: SRX devices support J-Flow versions 5 and 8. SolarWinds Netflow only supports and will process J-Flow version 5.

Product section

Netflow Traffic Analyzer

Resolution

Configuration Example

The following procedure provides an example of J-Flow configuration.

  1. Enable sampling on one or more interfaces, and specify the direction:


user@host# set interfaces ge-0/0/0 unit 0 family inet sampling input
user@host# set interfaces ge-0/0/0 unit 0 family inet sampling output

  1. Specify the sampling rate.

Caution: Activation of flow collection can have a significant impact on the performance of the SRX Series device. The smaller the sample rate, the bigger the impact. We recommend that you do not use a sampling input rate of 1.

user@host# set forwarding-options sampling input rate 100    

  1. Specify the UDP port number of the host that is collecting cflowd packets.

user@host# set forwarding-options sampling family inet output flow-server 10.10.10.1 port 2055 

  1. Specify the version format: 5.
  2. user@host# set forwarding-options sampling family inet output flow-server 10.10.10.1 version 5