BGP testbed tools

Ivan Pepelnjak ip at
Wed Jan 13 06:51:38 UTC 2010

This is how you can do it with Quagga:

You could write a Perl (or whatever your favorite scripting language is) script to get Quagga/IOS configuration from live BGP data, but it would be non-trivial and the resulting configuration would be enormous. I know there was a similar discussion months ago on the NANOG mailing list; browse the archives.

Ivan Pepelnjak /

> -----Original Message-----
> From: Ben Jencks [mailto:ben at]
> Sent: Tuesday, January 12, 2010 9:28 PM
> To: nanog at
> Subject: BGP testbed tools
> This is obviously a rookie question, but I haven't found anything by
> searching. I'm looking to set up a small testbed to simulate our
> internal network topology, and I want to have a realistic BGP table
> from the fake "upstream" routers. Ideally what I'd like to do is dump
> the BGP table from our production routers, strip the immediate
> neighbor AS, and load the table into Quagga or OpenBGPD to advertise.
> I'm running into two problems: how do you dump BGP tables in a
> machine-parseable format from IOS, and how do you make the route
> server advertise the routes as they were in the original table,
> including the full AS-path, communities, etc? If Quagga/OpenBGPD
> aren't the right tools, I'm happy to use something else.
> This seems like it would be a pretty standard thing to do, but none of
> the tools I've found seem aimed at this sort of testbed.
> Thanks!
> -Ben Jencks

More information about the NANOG mailing list