Hello John and all,<div><br></div><div>Tried the same... Deleted the login banner altogether... still no luck...</div><div>Note: I have used no enable in cloginrc and have hashed away all the commands and added show startup-config in the cwrancid file which I have created... No other changes :(</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); ">================ Logs from RANCID ================</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">[rancid@rancid bin]$ ./cwrancid -d Testrouter.rou</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">executing cwlogin -t 90 -c"show startup-config" Testrouter.rou</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter.rou: missed cmd(s): show startup-config</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter.rou: missed cmd(s): show startup-config</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter.rou: End of run not found</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter.rou: End of run not found</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">!</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">[rancid@rancid bin]$ ./cwlogin -t 90 -c"show startup-config" Testrouter.rou</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">testrouter.rou</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">spawn telnet testrouter.rou</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Trying 10.157.37.2...</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Connected to testrouter.rou.</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Escape character is '^]'.</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; "> </span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">User Access Verification</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Username: rancid</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Password:</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; "> </span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter></span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter>terminal length 0</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter>show startup-config</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Using 6692 out of 29688 bytes</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">!</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">! Last configuration change at 10:29:40 GMT Tue Nov 10 2009 by rancid</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">! NVRAM config last updated at 10:29:44 GMT Tue Nov 10 2009 by rancid</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">!</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">version 12.2</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">< ---- Truncated Output ------ ></span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">ntp server 192.168.2.240</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">end</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Testrouter>exit</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">Connection closed by foreign host.</span></font></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<font size="2" face="Trebuchet MS"><span style="font-size: 10pt; font-family: 'Trebuchet MS'; ">[rancid@rancid bin]$</span></font></p></span><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); ">================ Logs from RANCID ================</span></div>
<div><font class="Apple-style-span" color="#500050" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div>Some suggestions to help me out ?</div><div><br></div>
Cheers!!</div><div>Sreekanth<br><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Nov 4, 2009 at 9:46 PM, john heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Wed, Nov 04, 2009 at 05:41:14PM +0530, Sreekanth K:<br>
<div><div></div><div class="h5">> Dear All,<br>
><br>
> I am facing a problem while using RANCID for certain set of Cisco devices.<br>
> I have a set of devices to which I have only limited access and do not have<br>
> the enable passwords.<br>
> I have created new rancid and clogin scripts named cwrancid and cwlogin.<br>
> I am not able to run rancid for these devices; I have hashed all the<br>
> commands on cwrancid except "show startup-config".<br>
> When I use cwlogin to directly attempt on my TestRouter, I am able to<br>
> complete successfully.<br>
> Logs appended below.<br>
><br>
> Appreciate help from the fraternity since I have exhausted my skills. :)<br>
><br>
> Cheers!!!<br>
> Sreekanth.<br>
> ================ Logs from RANCID ================<br>
> [rancid@rancid bin]$ ./cwrancid -d Testrouter.rou<br>
> executing cwlogin -t 90 -c"show startup-config" Testrouter.rou<br>
> Testrouter.rou: missed cmd(s): show startup-config<br>
> Testrouter.rou: missed cmd(s): show startup-config<br>
> Testrouter.rou: End of run not found<br>
> Testrouter.rou: End of run not found<br>
> !<br>
> [rancid@rancid bin]$<br>
> [rancid@rancid bin]$ ./cwlogin -t 90 -c"show startup-config" Testrouter.rou<br>
> testrouter.rou<br>
> spawn telnet testrouter.rou<br>
> Trying 192.168.2.4...<br>
> Connected to testrouter.rou.<br>
> Escape character is '^]'.<br>
> CCCCC<br>
> ########################################################################<br>
> ### ###<br>
> ### * WARNING * WARNING * WARNING * WARNING * ###<br>
> ### ** FOR AUTHORISED NETWORK PERSONNEL ONLY ** ###<br>
> ### ============================== ============= ###<br>
><br>
<br>
</div></div>remove the #s from the banner. see cloginrc(1).<br>
<div class="im"><br>
> < ---- Truncated Output ------ ><br>
> ntp server 192.168.2.240<br>
> end<br>
> Testrouter >exit<br>
> Connection closed by foreign host.<br>
> [rancid@rancid bin]$<br>
> ================ Logs from RANCID ================<br>
<br>
</div><div><div></div><div class="h5">> _______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>K Sreekanth<br>09941914363<br>
</div>