[j-nsp] Netflow sampling broken in 9.6R1.13 ?

Nalkhande Tarique Abbas ntarique at juniper.net
Mon Sep 14 13:20:49 EDT 2009


Alfred,

Reply inline...

<You Asked> Now Junos 9.6 note "## Warning: 'output' is deprecated" 
<Tarique> "output" was moved under family in 9.6 & hence the warning.


<You Asked> If I activate the new syntax "forwarding-options sampling
family inet ...". I get always an error:
<Tarique> Config will commit if you remove family inet for input.

So basically you just need to reshuffle it & should go through.

A sample for you...

edit forwarding-options sampling]
root at RADIUM-RE1-Tarique# show 
input {
    rate 1023;
    run-length 0;
}
family inet {
    output {
        flow-server x.x.x.x {
            port 1;
            autonomous-system-type origin;
            local-dump;
            source-address y.y.y.y;
            version 5;
        }
    }
}

[edit forwarding-options sampling]
root at RADIUM-RE1-Tarique# commit check 
configuration check succeeds
 

Hope it helps!


Thanks & Regards,
Tarique A. Nalkhande


-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Alfred
Schweder
Sent: Monday, September 14, 2009 9:45 PM
To: juniper-nsp at puck.nether.net
Cc: Alfred Schweder
Subject: [j-nsp] Netflow sampling broken in 9.6R1.13 ?

Hello

Till 9.5R2.7 the following is working well:
sampling {
    input ...
    output {
        aggregate-export-interval 90;
        flow-inactive-timeout 15;
        flow-active-timeout 60;
        file filename acct files 4 size 521000 world-readable stamp;
        flow-server 192.168.0.123 {
            port 5555;
            autonomous-system-type origin;
            aggregation {
                source-destination-prefix;
            }
            no-local-dump;
            source-address 192.168.0.49;
            version 8;
        }
    }
}

Now Junos 9.6 note "## Warning: 'output' is deprecated" and the
collected
data seems to be summariesed at network(?) boundaries.

If I activate the new syntax "forwarding-options sampling family inet
..."
I get allways an error:
error: Check-out failed for Traffic sampling control process
(/usr/sbin/sampled) without details
error: configuration check-out failed

Has somebody a hint ?

Thanks and regards,
ALF

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list