[j-nsp] inline jflow not working

moki vomoki at gmail.com
Tue Mar 12 07:48:41 EDT 2013


Hello guys
I already saw some emails regarding inline jflow issue but i will try anyway

I have  the following configuration at my edge router :

set chassis fpc 0 sampling-instance sample-ins1

set chassis fpc 0 inline-services flow-table-size ipv4-flow-table-size 3

set chassis fpc 0 inline-services flow-table-size ipv6-flow-table-size 3



set forwarding-options sampling instance sample-ins1 input rate 100

set forwarding-options sampling instance sample-ins1 family inet output
flow-server x.x.x.x port 9697

set forwarding-options sampling instance sample-ins1 family inet output
flow-server x.x.x.x autonomous-system-type origin

set forwarding-options sampling instance sample-ins1 family inet output
flow-server x.x.x.x version-ipfix template ipv4

set forwarding-options sampling instance sample-ins1 family inet output
inline-jflow source-address x.x.x.x



set services flow-monitoring version-ipfix template ipv4
flow-active-timeout 60

set services flow-monitoring version-ipfix template ipv4
flow-inactive-timeout 60

set services flow-monitoring version-ipfix template ipv4
template-refresh-rate packets 1000

set services flow-monitoring version-ipfix template ipv4
template-refresh-rate seconds 10

set services flow-monitoring version-ipfix template ipv4
option-refresh-rate packets 1000

set services flow-monitoring version-ipfix template ipv4
option-refresh-rate seconds 10

set services flow-monitoring version-ipfix template ipv4 ipv4-template


also i sample the traffic in the firewall filter which is associated with
relevant interfaces


the original configuration was without two commands and the netflow PDU
packets where empty

set chassis fpc 0 inline-services flow-table-size ipv4-flow-table-size 3

set chassis fpc 0 inline-services flow-table-size ipv6-flow-table-size 3


after i configured them i started to receive packets with content . the
length of PDU was about 750kb

but after a while i stopped receiving PDU with content and they looked like
this :


when i tcpdump on my flow server I see that i receive flow PDU packets but
they are empty

13:27:00.275220 IP x.x.x.x .33018 > 192.168.1.6.9697: UDP, length 104

13:27:00.276184 IP x.x.x.x .63492 > 192.168.1.6.9697: UDP, length 48

13:27:00.276221 IP x.x.x.x .63492 > 192.168.1.6.9697: UDP, length 40

13:27:00.276258 IP x.x.x.x .63492 > 192.168.1.6.9697: UDP, length 48

13:27:00.276293 IP x.x.x.x .63492 > 192.168.1.6.9697: UDP, length 40

13:27:10.286819 IP x.x.x.x .33018 > 192.168.1.6.9697: UDP, length 104


Please help


More information about the juniper-nsp mailing list