Good afternoon

 

I cannot have my netflow augmented with bgp data (src_as, dst_as,
peer_dst_ip.) all of the BGP data stay 0 or are empty

An output of the csv file is: 

0,0,63.218.164.15,,62.140.128.166,220.206.187.242,2123,2123,udp,1,40

 

Where 0,0 are the missing src_as, dst_as  and , , is the missing
peer_dst_ip

 

 

I try to monitor traffic of a L3VPN by having all routers sending netflow
to nfacctd and augment them with BGP data.

The nfacctd collector peers with the route-reflector on address-family
vpnv4.

Please mind the network is a confederation network with sub-as

 

I cannot figure out what is wrong

 

BGP session is up,

bgp_table_dump_file collects properly all routes from the vrf

netflow is properly collected by nfacctd

 

But all aggregate values that should augment the data stay at zero for the
AS, or empty like peer_dst_ip

 

My bgp_agent_map file has the below entry

bgp_ip=w.x.y.z.   ip=0.0.0.0/0     where w.x.y.z is the IP address of the
nfacctd collector

 

my nfacctd config file is:

 

daemonize: false

debug: true

bgp_peer_as_skip_subas: true

bgp_src_std_comm_type: bgp

bgp_src_ext_comm_type: bgp

bgp_src_as_path_type: bgp

bgp_agent_map: /usr/local/etc/pmacct/map.txt

nfacctd_as_new: bgp

nfacctd_net: bgp

nfacctd_as: bgp

 

nfacctd_port: 2055

nfacctd_templates_file: /usr/local/etc/pmacct/nfacctd-template.txt

 

nfacctd_time_new: true

 

plugin_buffer_size: 70240

plugin_pipe_size: 2024000

 

bgp_daemon: true

bgp_daemon_ip: w.x.y.z

bgp_daemon_id: w.x.y.z

bgp_daemon_max_peers: 100

bgp_table_dump_file: /var/spool/bgp-$peer_src_ip-%H%M.log

 

plugins: print

print_output_file: /var/spool/plugin.log

print_output_file_append: true

print_refresh_time: 3

print_output: cvs

aggregate: proto, src_host, src_port, dst_host, dst_port, src_as, dst_as,
peer_src_ip, peer_dst_ip

 

 

Thank you in advance

 

Wilfrid

 

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to