Re: [pmacct-discussion] Sfacctd per-ASN + BGP traffic accounting

2017-04-06 Thread Paolo Lucente
Hi Stanislaw, Interesting. Can you please modify: sfacctd_net: bgp sfacctd_as_new: bgp Into: sfacctd_net: fallback sfacctd_as_new: fallback This should prevent net_dst to be zero, except for some reason that is actually comes as zero in the flow itself. Send me some output of that; i propose

Re: [pmacct-discussion] Sfacctd per-ASN + BGP traffic accounting

2017-04-06 Thread Stanislaw
Hello, Paolo, Is it possible that is traffic hitting your own prefixes, It hardly could be for two reasons: - sflow is enabled only on "uplink" interfaces of the switch, facing to carriers. Traffic to my own prefixes wouldn't go there. - The BGP-to-pmacct export policy is set up to export int

Re: [pmacct-discussion] Sfacctd per-ASN + BGP traffic accounting

2017-04-01 Thread Paolo Lucente
Hi Stanislaw, Is it possible that is traffic hitting your own prefixes, ie. prefixes lying in the same ASN you are iBGP peering with pmacct (for which the AS_PATH would be null and hence the as_dst would be null too)? You may double-check by adding net_dst to your aggregation method and see for w

[pmacct-discussion] Sfacctd per-ASN + BGP traffic accounting

2017-03-30 Thread Stanislaw
Hello, I'm trying to setup sfacctd to account per-ASN traffic statistics using pmacct 1.6.1 (the latest). It seems to work but the topmost position in the report is dst_asn 0. Is it possible that pmacct can't handle BGP fullview, so portion of ASN<->prefix data is lost within the daemon? I u