[j-nsp] Flow accounting on an M7i

sthaug at nethelp.no sthaug at nethelp.no
Wed Aug 18 14:39:33 EDT 2010


> I'm trying to enable flow accounting on one of our M7is.  JunOS  
> version is 9.1R8.  No matter what I do, I can't get a flow to export.   
> I'd appreciate any input to obvious errors, or tips on other things to  
> try.  I've also tried removing sampling from the interface and doing  
> it with a firewall rule.

Have you tried RE-based sampling? We use

input {
    family inet {
        rate 1000;
        run-length 0;
        max-packets-per-second 1000;
    }
}
output {
    cflowd a.b.c.d {
        port 2055;
        version 5;
        no-local-dump;
        autonomous-system-type origin;
    }
}

and then for the relevant interfaces we have a firewall filter which
includes the "sample" keyword.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the juniper-nsp mailing list