[rancid] Re: Is there any way to show uncommitted changes

Chris Gauthier cgauthier at mapscu.com
Tue Mar 23 20:08:11 UTC 2010


I would be very interested in such a script!  I just don't have time to write it.

Chris G.


-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of john heasley
Sent: Tuesday, March 23, 2010 11:56 AM
To: David Krider
Cc: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Is there any way to show uncommitted changes

Tue, Mar 23, 2010 at 02:49:05PM -0400, David Krider:
> I had hacked up my own version of Rancid without even knowing it (with
> expect, but no RCS). My version backed up both the `show config' and
> `show running' commands, and then did a diff between them, and sent any
> result in email for review. It was intended to show uncommitted changes
> to the gear. My boss sent me a link to Rancid, and I've just gotten it
> running and backing up several switches and a couple routers. Is there
> any way to get it to show me the difference between the running and
> permanent configs? I get the feeling there is, but I can't find it.

no; write a script that takes router.db and uses *login -c 'command' to
save the config at some regular interval, such as daily.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list