[rancid] Rollback functionality and potential pitfalls
Ramon
ramonbatwork at gmail.com
Thu Feb 14 14:38:13 UTC 2013
heasley; that is a good idea and I have definitely have tried that... the
problem I am having however with the banner at this point is with clogin or
"expect" perhaps: newlines (line breaks) after each line in the banner
statement dont return any meaningful character such as ">", "#" to the
clogin script, so it just halts.
I dont think it is a bug, but it would be very good to be able use the -x
option with clogin and push a complete config files (including banner).
Perhaps the solution is for clogin to push lines after a banner statement
differently "knowing" that until it reaches the delimiter character it can
continue to paste lines without expecting the hash.
shouldb, excellent idea to write the date and message about rollback. That
is a easy and useful one-liner (the limit a this point)
I also got very interested when I found about configure replace... my
success rate using on production so far was 1 out of 3. Yesterday I saw
another (undocumented new) failure:
"Error: could not write to output buffer incremental-temp.cfg"
On Wed, Feb 13, 2013 at 9:08 AM, shouldbe q931 <shouldbeq931 at gmail.com>wrote:
> On Tue, Feb 12, 2013 at 8:55 PM, Skye Hagen <skyeh at uidaho.edu> wrote:
>
>> You may want to look into the Cisco IOS 'configure replace' command. This
>> will replace the running configuration with another configuration. It is
>> NOT
>> a merge operation like 'copy ... Running-config'. It can work using tftp,
>> ftp, scp, etc.
>>
>> Configure replace will work with whole configurations only. If you are
>> removing passwords in RANCID, you would need to replace them beforehand,
>> otherwise they will be missing when you replace the config.
>>
>> Skye.
>>
>
> Thank you for making me feel like an idiot for not knowing about configure
> replace :-)
>
> Cheers
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130214/e1d51e6d/attachment.html>
More information about the Rancid-discuss
mailing list