I am running sfacctd with BGP, and trying to get it to properly set src_as and 
dst_as in the SQL entires. According to debug, the BGP peering seems to be 
working, but unfortunately, it keeps setting dst_as and src_as to 0. Any ideas 
what could be causing my issues, my config is below:
cmd line: /opt/pmacct/sbin/sfacctd  -f /opt/pmacct/pmacct.conf

! 
! pmacctd configuration example 
! 
! Did you know CONFIG-KEYS contains the detailed list of all configuration keys 
! supported by 'nfacctd' and 'pmacctd' ? 
! 
! debug: true 
plugins: mysql 
aggregate: src_as,dst_as,src_host,dst_host,src_port,dst_port,proto,tos 
sfacctd_renormalize: true 
sql_db: pmacct 
sql_table: acct 
sql_table_version: 8 
sql_passwd: networks 
sql_user: pmacct 
sql_refresh_time: 90 

! sql_history: 5m 
! sql_history_roundoff: mh 
! sql_multi_values: 10 

sql_optimize_clauses: true 
sql_cache_entries: 64007 

bgp_daemon: false 
bgp_peer_src_as_type: bgp 
sfacctd_as_new: bgp 
nfacctd_as_new: bgp 
pmacctd_as: bgp 
bgp_src_as_path_type: bgp 


-- 
Sargun Dhillon 
Mobile (UK): +44-793-260-2318 
VoIP (US): +1-925-235-1105 

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

Reply via email to