It's interesting...

when I telnet localhost 2605 to quagga-bgp and wrote the command from CLI "neighbor 127.0.0.1 remote-as 65530" I got the answer:
"% Can not configure the local system as neighbor"

but... when I wrote the configuration in /etc/quagga/bgpd.conf and restart quagga (/etc/init.d/quagga restart) than the configuration is read successfuly, and the command shows:
testowy# show ip bgp summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 127.0.0.1 4 65530 0 0 0 0 0 never Active

So, I'm trying againg to configure the pmacct and quagga...


Regards
--
Mark.


W dniu 02.05.2013 13:28, Paolo Lucente pisze:
Hi Marek,

I've just tested against Quagga 0.99.22 and it works no problem peering
with a pmacct instance over 127.0.0.1. I'd suggest upgrading quagga but
it's strange: i did test this back in 2009-2010; 0.99.20.1 is from last
year; 0.99.22 is from 2013. Don't believe something did break temporarly.
This is the piece of config i specifically tested:

router bgp Y
  bgp router-id X.X.X.X
  neighbor 127.0.0.1 remote-as Y
  neighbor 127.0.0.1 port 17917
  neighbor 127.0.0.1 send-community
  !
  address-family ipv4
   [ .. ]
   neighbor 127.0.0.1 activate
   exit-address-family
  !
  address-family vpnv4 unicast
   [ .. ]
   neighbor 127.0.0.1 activate
   exit-address-family
  !

pmacct 0.12 is quite old now - I also suggest upgrading the package to
a more recent (supported) version.

Cheers,
Paolo

On Thu, May 02, 2013 at 12:19:29PM +0200, [email protected] wrote:
Hi.

I'd like to use pmacct as netflow collector to get information about
src_as, dst_as and after to use it to know in/out traffic sorted by
ASN (example with as-stats).

I'm trying to get work pmacctd with quagga bgp router. I found in
official examples how to do it on:
        http://wiki.pmacct.net/OfficialExamples
        X. Quickstart guide to setup a NetFlow agent/probe

but when I'm trying to configure quagga it that way:
[...]
router bgp Y
  bgp router-id X.X.X.X
  neighbor 127.0.0.1 remote-as Y
  neighbor 127.0.0.1 port 17917
  neighbor 127.0.0.1 update-source X.X.X.X
[...]

where Y is my AS i get from quagga:
[...]
% Can not configure the local system as neighbor
[..]

quagga version is 0.99.20.1
pmacct version is 0.12.1

Have you any idea how to get pmacct work with quagga?


Regards
--
Mark

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

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


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

Reply via email to