Just for the record if anyone has a similar doubt in the future I leave the final configuration below:
SRX1400
set forwarding-options sampling instance instance1 input rate 100 set forwarding-options sampling instance instance1 input run-length 0 set forwarding-options sampling instance instance1 family inet output flow-server X.X.X.X port 9996 set forwarding-options sampling instance instance1 family inet output flow-server X.X.X.X version9 template ipv4-test set forwarding-options sampling instance instance1 family inet output inline-jflow source-address X.X.X.X set services flow-monitoring version9 template ipv4-test ipv4-template set interfaces ge-0/0/0 unit 1 family inet sampling input set interfaces ge-0/0/0 unit 1 family inet sampling output
Nfsen
%sources = ( 'JuniperSRX' => { 'port' => '9996', 'IP' => 'X.X.X.X', 'type' => 'netflow', 'col' => '#0000ff' }, 'ASR1000' => { 'port' => '9997', 'IP' => 'X.X.X.X', 'type' => 'netflow', 'col' => '#ff0000' }, );
Thanks for your help
Regards,
Luis