<br><font size=2><tt>You are right, Rancid should catch this. The prompt
of our last remaining CSS on logout with unsaved changes is exactly:</tt></font>
<br><font size=2><tt>"Configuration changes have occurred. Save
changes before exiting, [y/n/q]:"</tt></font>
<br>
<br><font size=2><tt>Tried it out now with "exp_internal" debugging,</tt></font>
<br>
<br><font size=2><tt>expect: does "Configuration changes have occurred.
Save changes before exiting, [y/n/q]:" (spawn_id exp4) match
regular expression</tt></font>
<br><font size=2><tt>"^[^\n\r *]*EPP-CSS-01([^#>\r\n]+)?[#>](\([^)\r\n]+\))?"?
no</tt></font>
<br><font size=2><tt>"Do you wish to save your configuration changes"?
no</tt></font>
<br><font size=2><tt>"[\n\r]+"? no</tt></font>
<br><font size=2><tt>expect: timed out</tt></font>
<br>
<br><font size=2><tt>Clogin still expects the prompt, so something seems
amiss here.</tt></font>
<br>
<br><font size=2><tt>But probably not worth much worry, since CSSs are
somewhat legacy equipemnt, aren't they?</tt></font>
<br>
<br><font size=2><tt>Since I happen to write to the Rancid creator: BIG
thank you, we use Rancid big time, thousands of devices, best thing in
configuration management ever.</tt></font>
<br>
<br><font size=2><tt>Georg</tt></font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>heas@shrubbery.net@inet</b>
</font>
<p><font size=1 face="sans-serif">06.01.2009 19:55</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">georg.naggies@r-it.at</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td><font size=1 face="sans-serif">smunzani@comcast.net, rancid-discuss@shrubbery.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">Re: [rancid] Re: CSS backup "end
of run not found"</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Tue, Jan 06, 2009 at 12:58:39PM +0100, georg.naggies@r-it.at:<br>
> When there are unsaved config changes on the CSS it asks "do
you want to <br>
> save the config" or something like that, and Rancid doesn't catch
that.<br>
> Therefore: try logging in manually and see what the CSS does on logout.<br>
> Best, Georg<br>
<br>
it looks for "(Profile|Configuration) changes have occurred.*"
at logout.<br>
if cisco has made another gratuitous change, what is the new prompt?<br>
<br>
> <br>
> <br>
> heas@shrubbery.net <br>
> Gesendet von: rancid-discuss-bounces@shrubbery.net<br>
> 06.01.2009 01:08<br>
> <br>
> An<br>
> smunzani@comcast.net<br>
> Kopie<br>
> rancid-discuss@shrubbery.net<br>
> Thema<br>
> [rancid] Re: CSS backup "end of run not found"<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> Mon, Jan 05, 2009 at 03:51:54PM -0600, Sam Munzani:<br>
> > Team,<br>
> > <br>
> > I am using cssrancid of following version.<br>
> > <br>
> > ## $Id: cssrancid.in,v 1.4 2004/01/11 03:49:13 heas Exp $<br>
> <br>
> 1.4 is ancient. please try a more recent version first.<br>
> <br>
> > I can successfully login to the css with clogin command and run
both of <br>
> > the commands that fail when rancid-run executes.<br>
> > <br>
> > Getting missed routers: round 1.<br>
> > mycss01: found unexpected command - "term length 65000"<br>
> > mycss01: found unexpected command - "copy profile user-profile"<br>
> > mycss01: End of run not found<br>
> > <br>
> > The cssrancid has term length settings of 65535 but I changed
it to <br>
> > 65000 just to see if the number makes a difference but no luck.
Any <br>
> > pointers?<br>
> > <br>
> > Below is debug output. BTW, I set my TERM variable manually to
ensure <br>
> > that's not the issue here.<br>
> > $echo $TERM<br>
> > vt100<br>
> > <br>
> > $cssrancid -d mycss01<br>
> > executing clogin -t 90 -c"term length 65000;copy profile
<br>
> > user-profile;show version;show boot;show run" mycss01<br>
> > HIT COMMAND:mycss01# term length 65000<br>
> > HIT COMMAND:mycss01# term length 65000<br>
> > mycss01: found unexpected command - "term length 65000"<br>
> > HIT COMMAND:mycss01# copy profile user-profile<br>
> > HIT COMMAND:mycss01# copy profile user-profile<br>
> > mycss01: found unexpected command - "copy profile user-profile"<br>
> > HIT COMMAND:mycss01# show version<br>
> > In ShowVersion: mycss01# show version<br>
> > HIT COMMAND:mycss01# show boot<br>
> > In ShowBoot: mycss01# show boot<br>
> > HIT COMMAND:mycss01# show run<br>
> > In ShowRun: mycss01# show run<br>
> > mycss01: End of run not found<br>
> > mycss01: End of run not found<br>
> > <br>
> > <br>
> > Thanks,<br>
> > sam<br>
> > _______________________________________________<br>
> > Rancid-discuss mailing list<br>
> > Rancid-discuss@shrubbery.net<br>
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> Rancid-discuss@shrubbery.net<br>
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<br>
> <br>
> <br>
> <br>
> ----------------------------------------<br>
> Raiffeisen Informatik GmbH, Firmenbuchnr. 88239p, Handelsgericht Wien,
DVR 0486809, UID ATU 16351908<br>
> <br>
> Der Austausch von Nachrichten mit oben angefuehrtem Absender via E-Mail
dient ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen
duerfen ueber dieses Medium nicht ausgetauscht werden. <br>
> Correspondence with above mentioned sender via e-mail is only for
information purposes. This medium may not be used for exchange of legally-binding
communications.<br>
> ----------------------------------------<br>
<br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> Rancid-discuss@shrubbery.net<br>
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss<br>
</tt></font>
<br>
<br>
<span style="font-family:'Arial',sans-serif; font-size:8pt; color:#000000">----------------------------------------<br>
Raiffeisen Informatik GmbH, Firmenbuchnr. 88239p, Handelsgericht Wien, DVR 0486809, UID ATU 16351908<br>
<br>
Der Austausch von Nachrichten mit oben angefuehrtem Absender via E-Mail dient ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen duerfen ueber dieses Medium nicht ausgetauscht werden. <br>
Correspondence with above mentioned sender via e-mail is only for information purposes. This medium may not be used for exchange of legally-binding communications.<br>
----------------------------------------</span><br>
<br>