[j-nsp] inline jflow

Saku Ytti saku at ytti.fi
Thu Dec 12 02:27:32 EST 2013


Do you have ECMP or LFA towards collector? And are you running earlier than
11.4R6, 12.1R4 or 12.2R2? If so, you might be hitting PR805061

Try 'show jnh 0 sample-inline statistics ipv4' in PFE

Do you see 'Flow insert Policer Drops' incrementing?


On 8 December 2013 20:09, moki <vomoki at gmail.com> wrote:

> Hello guys
> I have a problem with inline jflow I configured everything by the book .
> The router exported netflow information for about 20 minutes , and
> afterwards it  stopped .
> Here is the configuration :
> fpc 0 {
>     sampling-instance sample-ins1;
>     inline-services {
>         flow-table-size {
>             ipv4-flow-table-size 3;
>             ipv6-flow-table-size 3;
>         }
>     }
> }
>
> forwarding-options{
> sampling {
>     instance {
>         sample-ins1 {
>             input {
>                 rate 1;
>             }
>             family inet {
>                 output {
>                     flow-server x.x.x.x {
>                         port 9697;
>                         autonomous-system-type origin;
>                         version-ipfix {
>                             template {
>                                 ipv4;
>                             }
>                         }
>                     }
>                     inline-jflow {
>                         source-address y.y.y.y;
>                     }
>                 }
>             }
>         }
>     }
> }
>
> flow-monitoring {
>     version-ipfix {
>         template ipv4 {
>             flow-active-timeout 60;
>             flow-inactive-timeout 60;
>             template-refresh-rate {
>                 packets 1000;
>                 seconds 10;
>             }
>             option-refresh-rate {
>                 packets 1000;
>                 seconds 10;
>             }
>             ipv4-template;
>         }
>     }
> }
>
> when i execute the command
> show services accounting flow inline-jflow fpc-slot 0
> The counters don't grow
>   Flow information
>     FPC Slot: 0
>     Flow Packets: 9811498, Flow Bytes: 7364152991
>     Active Flows: 4294967295, Total Flows: 4134755
>     Flows Exported: 3838520, Flow Packets Exported: 388170
>     Flows Inactive Timed Out: 3620229, Flows Active Timed Out: 514527
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>



-- 
  ++ytti


More information about the juniper-nsp mailing list