<div dir="ltr"><div>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. <br>
<br>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. <br>
<br></div><div>shouldb, excellent idea to write the date and message about rollback. That is a easy and useful one-liner (the limit a this point) <br><br>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:<br>
<br>"Error: could not write to output buffer incremental-temp.cfg"<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 9:08 AM, shouldbe q931 <span dir="ltr"><<a href="mailto:shouldbeq931@gmail.com" target="_blank">shouldbeq931@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Tue, Feb 12, 2013 at 8:55 PM, Skye Hagen <span dir="ltr"><<a href="mailto:skyeh@uidaho.edu" target="_blank">skyeh@uidaho.edu</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You may want to look into the Cisco IOS 'configure replace' command. This<br>
will replace the running configuration with another configuration. It is NOT<br>
a merge operation like 'copy ... Running-config'. It can work using tftp,<br>
ftp, scp, etc.<br>
<br>
Configure replace will work with whole configurations only. If you are<br>
removing passwords in RANCID, you would need to replace them beforehand,<br>
otherwise they will be missing when you replace the config.<br>
<br>
Skye.<br></blockquote><div><br></div></div><div>Thank you for making me feel like an idiot for not knowing about configure replace :-)</div><div><br></div><div>Cheers</div></div></div></div>
<br>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br></blockquote></div><br></div>