Junos OS

Expand all | Collapse all

Simple Jflow config fails check out

Jump to Best Answer
  • 1.  Simple Jflow config fails check out

    Posted 05-16-2017 13:16

    Hello all....

     

    First time configuring JUNOS for netflow\jflow. Found a simple Juniper KB config sample ...which is exactly the config found on SolarWinds site....which is my flow collector. Switch is an EX 4300-32F

     

    So,,,,here's my config - want to monitor the flows on an AE interface... 

     

    and the check out fails and I'm not sure why. I tried to raise the rate to 1000.... sampling only input..same results.

     

    Appreciate the help ! 

     

    commit check
    error: Check-out pass for Traffic sampling control process (/usr/sbin/sampled) dumped core (0x8b)
    error: configuration check-out failed

     

     

    set interfaces ae0 unit 0 family inet sampling input output

    set forwarding-options sampling input rate 100   (1 out of 100 packets is sampled)

    set forwarding-options sampling family inet output flow-server 10.1.2.20 port 2055 version 5

     

    root@Myl_Core_1# show | compare
    [edit interfaces ae0 unit 0 family inet]
    + sampling {
    + input;
    + output;
    + }
    [edit forwarding-options]
    + sampling {
    + input {
    + rate 100;
    + }
    + family inet {
    + output {
    + flow-server 10.1.2.20 {
    + port 2055;
    + version 5;
    + }
    + }
    + }
    + }



  • 2.  RE: Simple Jflow config fails check out
    Best Answer

    Posted 05-17-2017 00:43

    Hello,

    Please include the link to KB in order for us to see what You are actually referring to.

    Anyway - Your config is for Netflow v5.

    Juniper EX switches do NOT support Netflow at all (not v5, not v8, not v9, not IPFIX)  - only Sflow.

    Example Sflow config is here

    https://www.juniper.net/documentation/en_US/junos/topics/example/sflow-configuring-ex-series.html

    HTH

    Thx

    Alex



  • 3.  RE: Simple Jflow config fails check out

    Posted 05-17-2017 05:51

    Did not relaize that! That would explain the check out failure I suppose! )

     

    This was the Solarwinds article I was refereing to - which links to a couple Juniper KBs

     

    Anyway...I'll proceeed with SFLow-- and post back if have more troubles -- thanks Alex

     

    https://support.solarwinds.com/Success_Center/Netflow_Traffic_Analyzer_(NTA)/Example_J-Flow_and_sFlow_configs_for_Juniper_devices