BGP RIB Collection

Nick Hilliard nick at foobar.org
Tue Feb 26 19:21:42 UTC 2013


On 26/02/2013 17:24, chip wrote:
> Currently I'm gathering this data via SNMP.

whoa, you must really hate your router to do that to it.

> While this works it has its draw backs, it
> takes approximately 20 minutes per view, its nowhere near real-time, and
> I'm unable to gather information for IPv6.  SNMP, however, is faster than
> screen scraping.  All of the XML based access methods seem to take about
> the same time as well.

cisco:
--
term len 0
show bgp ipv4 unicast neigh x.y.z.w received-routes
--

juniper:
--
show route receive-protocol bgp x.y.z.w | no-more
--

Easily scriptable using rancid or something similar.  Of course, this sucks
because you're only seeing the route summary, not any of the attributes.

> project is still in its infancy.  BMP seems to be a good solution but I've
> not found a working client implementation yet.  I see that you can actually
> configure this on some Juniper gear but I can't seem to locate a client to
> ingest the data the router produces.

Can you provide a list of the clients that you have tried?  It would save
people the effort of going through them and finding out the same things as
you did.

Nick






More information about the NANOG mailing list