Actually, we do have a slight issue with thge ACEs...<br><br>Rancid ONLY collects the configs and not any of the other commands:<br><br><pre>!RANCID-CONTENT-TYPE: cisco<br>!<br>!<br>!<br>!<br>!<br>!<br>!<br>!<br>!<br>!<br>
^<br>% invalid command detected at '^' marker.<br><br>Generating configuration....<br><SNIP><br></pre>As for now we only are interested in the configs this is no issue for us.<br><br>
R.<br><br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 1:35 PM, Remy Heiden <span dir="ltr"><<a href="mailto:remyheiden@gmail.com">remyheiden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Strange..<br><br>We backup our ACEs with no trouble at all..<br>Just using the standard rancid script and separate management IP's on the contexts.<br><br>No issues with pagers or end of config files...<br><br>I'll have a look to see if i can find some details..<br>
<br>Remy<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 10:38 AM, Michael Stefaniuc <span dir="ltr"><<a href="mailto:mstefani@redhat.com" target="_blank">mstefani@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Bill,<br>
<div><br>
Brown IV, Bill (MFT) wrote:<br>
> I’ve been trying to backup the Cisco ACE but Rancid seems to time out<br>
> during the connection. I think it has to do with the pager. On the<br>
> ACE, every time I login the pager gets set back to its default. Logging<br>
> in and then setting ‘term length 0’ only works for the session. After<br>
> Rancid logs out, the pager gets reset.<br>
</div>you can try to use my patch from<br>
<a href="http://www.shrubbery.net/pipermail/rancid-discuss/2008-October/003338.html" target="_blank">http://www.shrubbery.net/pipermail/rancid-discuss/2008-October/003338.html</a><br>
<div><br>
> Scenario: I can login to the device using clogin. Issuing a ‘show run’<br>
> from there reveals that the pager is set, (noted by the --more--<br>
> prompt). I set ‘term length 0’ and ‘sho run’ completes with no pager.<br>
> Logging out and then back in reveals that the pager is once again set.<br>
> Using the rancid script with –d, the last output is:<br>
><br>
><br>
><br>
> HIT COMMAND:<device>/Admin#show running-config<br>
><br>
> In WriteTerm: <device>/Admin#show running-config<br>
><br>
> HIT COMMAND: <device>/Admin#write term<br>
><br>
> In WriteTerm: <device>/Admin#write term<br>
><br>
> <device>: End of run not found<br>
><br>
> <device>: End of run not found<br>
><br>
><br>
><br>
> My assumption is that somehow Rancid is expecting the enable prompt but<br>
> not getting it because of the pager. I looked at the rancid script but<br>
> I’m just not proficient enough to know where to hard code a ‘term length<br>
> 0’ and I definitely don’t want to change the behavior for other devices,<br>
> (I don’t want to “mess up”). Does anyone have a piece of code that will<br>
> accomplish this?<br>
</div>It's not the pager but rancid's detection of the end of the config file<br>
which goes wrong.<br>
<div><br>
> If possible, if you have it, I would really like to backup all the<br>
> contexts within the ACE as well.<br>
</div>For now you have to give each context an IP and use that. I plan to add<br>
that feature but I'm pretty busy lately.<br>
<br>
bye<br>
michael<br>
--<br>
Michael Stefaniuc Tel.: +49-711-96437-199<br>
Consulting Communications Engineer Fax.: +49-711-96437-111<br>
--------------------------------------------------------------------<br>
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach<br>
Handelsregister: Amtsgericht Muenchen HRB 153243<br>
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,<br>
Charles Cachera<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">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></blockquote></div><br><br clear="all"><br></div></div>-- <br>==========================================================<br>
<br>"The smell, you know that gasoline smell, the whole hill. Smelled like... victory."<br><br> (Lieutenant Colonel Bill Kilgore)<br><br>==========================================================<br><font color="#888888">--<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>==========================================================<br><br>"The smell, you know that gasoline smell, the whole hill. Smelled like... victory."<br>
<br> (Lieutenant Colonel Bill Kilgore)<br><br>==========================================================<br>--<br><br>