Mailing List Archive

Routing Tables
Hello,

How hard would it be to get routing information out of cisco routers and
into CVS using rancid?

I've run into the following situation:

1) I want to use rancid as designed for configuration management
2) I would like a way to also get the routing tables from devices so I
can see what changes have occurred there as well.
3) I don't want these 2 things in the same file: ie: configuration in
one file, routing table in another file, both in CVS.

Doable? And if so, how hard?

--Jason
Routing Tables [ In reply to ]
Wed, Oct 05, 2005 at 05:54:03PM -0400, Jason E. Gervia:
> Hello,
>
> How hard would it be to get routing information out of cisco routers and
> into CVS using rancid?
>
> I've run into the following situation:
>
> 1) I want to use rancid as designed for configuration management
> 2) I would like a way to also get the routing tables from devices so I
> can see what changes have occurred there as well.
> 3) I don't want these 2 things in the same file: ie: configuration in
> one file, routing table in another file, both in CVS.
>
> Doable? And if so, how hard?

requires a little more than just configuration; but add a new device type
to rancid-fe & modify a copy of rancid to collect the commands you want
and add a separate group for those versions of the devices.
Routing Tables [ In reply to ]
We've been including IGP routing tables in our rancid diffs for some
time now as part of a "whois" type system we've layered on top of rancid
using interface description tags.

I'd be happy to forward along the diffs if you're interested.

Dave

Jason E. Gervia wrote:
> Hello,
>
> How hard would it be to get routing information out of cisco routers and
> into CVS using rancid?
> I've run into the following situation:
>
> 1) I want to use rancid as designed for configuration management
> 2) I would like a way to also get the routing tables from devices so I
> can see what changes have occurred there as well.
> 3) I don't want these 2 things in the same file: ie: configuration in
> one file, routing table in another file, both in CVS.
>
> Doable? And if so, how hard?
>
> --Jason