<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Been trying to add support for the Cisco Small business switches in my Rancid 2.38.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I finally found the updated versions of csbrancid and csblogin files here but still seems to be some issue with my SG300<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.gossamer-threads.com/lists/rancid/users/6910">http://www.gossamer-threads.com/lists/rancid/users/6910</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Maybe i miss something with this line, as I don’t know what he means:?<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">”- End of run fix (important for be sure to get the full configuration dump)”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:black">My log just says:<o:p></o:p></span></p>
<p class="MsoNormal">Trying to get all of the configs.<o:p></o:p></p>
<p class="MsoNormal">sg300-10p csblogin error: Error: TIMEOUT reached<o:p></o:p></p>
<p class="MsoNormal">sg300-10p missed cmd(s): show version,show system,show startup-config<o:p></o:p></p>
<p class="MsoNormal">sg300-10p End of run not found<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I can log in just fine using .clogin sg300-10p<o:p></o:p></p>
<p class="MsoNormal">Only odd thing is the 4 blank lines, but I don’t know if they are important.<o:p></o:p></p>
<p class="MsoNormal">------------------<o:p></o:p></p>
<p class="MsoNormal">rancid@ubuntu:~$ bin/clogin sg300-10p<o:p></o:p></p>
<p class="MsoNormal">sg300-10p<o:p></o:p></p>
<p class="MsoNormal">spawn ssh -c 3des -x -l rancid sg300-10p<o:p></o:p></p>
<p class="MsoNormal">rancid@sg300-10p's password: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">SG300-10P#<o:p></o:p></p>
<p class="MsoNormal">SG300-10P#<o:p></o:p></p>
<p class="MsoNormal">------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My .cloginrc<o:p></o:p></p>
<p class="MsoNormal"># Switches<o:p></o:p></p>
<p class="MsoNormal">add userprompt sg*.* {"User Name:"}<o:p></o:p></p>
<p class="MsoNormal">add user sg*.* {rancid}<o:p></o:p></p>
<p class="MsoNormal">add password sg*.* {pass}<o:p></o:p></p>
<p class="MsoNormal">add autoenable sg*.* 1<o:p></o:p></p>
<p class="MsoNormal">add method sg*.* ssh<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve commenting lines out, removing {} and googled a lot, so feel I’ve tried evertyhing but to no avail.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hope someone have some idea <span style="font-family:Wingdings">
J</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>