I try to export flows from my router but so far without success, below is the configuration I use:
set services flow-monitoring version9 template ntop ipv4-template
set forwarding-options sampling input rate 1
set forwarding-options sampling input run-length 0
set forwarding-options sampling family inet output flow-server 10.8.20.22 port 9998
set forwarding-options sampling family inet output flow-server 10.8.20.22 version9 template ntop
set forwarding-options sampling family inet output inline-jflow source-address 10.8.0.1
set interfaces reth1 unit 0 family inet sampling input
set interfaces reth1 unit 0 family inet sampling output
listening with tcpdump on 10.8.20.22 port 9998 and not packet is comming
Starting with Junos OS Release 12.1X45-D10 and later, sampling features such as flow
monitoring, packet capture, and port mirroring are supported on reth interfaces.
• On all SRX Series devices in a chassis cluster, flow monitoring for version 5 and
version 8 is supported. However, flow monitoring for version 9 is not supported.