[rancid] comparing device running config against startup config

Ian Stong istong at costar.com
Tue Sep 20 14:28:47 UTC 2011


Quite true. Sometimes we want temporary changes to be in the running
config but not the startup config in case we need to back it out so
would rather have a way where rancid checks the running versus startup
and alerts for any changes (versus sending a periodic wr mem).


Thanks,

Ian

-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net] 
Sent: Tuesday, September 20, 2011 10:30 AM
To: Ian Stong
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] comparing device running config against startup
config

Tue, Sep 20, 2011 at 10:10:06AM -0400, Ian Stong:
> We are using rancid to grab the running config and look for 
> differences over the previous running config. That works great and as 
> advertised. I was wondering what others are doing to catch the 
> occasional issue where someone makes a change to the running config 
> but for whatever reason it doesn't get saved and the device crashes - 
> hence loosing that part of the config.
> 
> What suggestions do you have for ensuring the running config matches 
> the startup config?

you could use a cron job to write it periodically - clogin -c 'wr mem'
foo


More information about the Rancid-discuss mailing list