[161131] in North American Network Operators' Group
Re: BGP RIB Collection
daemon@ATHENA.MIT.EDU (Nick Hilliard)
Tue Feb 26 14:21:59 2013
X-Envelope-To: nanog@nanog.org
Date: Tue, 26 Feb 2013 19:21:42 +0000
From: Nick Hilliard <nick@foobar.org>
To: chip <chip.gwyn@gmail.com>
In-Reply-To: <CABGzhdvmpo1uv_yDodn4chMxuHBwqN28_++OstOMzpwzhdJibQ@mail.gmail.com>
Cc: North American Network Operators Group <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
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