[rancid] Support for the Cisco SF300

heasley heas at shrubbery.net
Mon Jul 1 16:15:10 UTC 2013


Sun, Jun 30, 2013 at 10:26:53PM +0200, Alan McKinnon:
> On 30/06/2013 15:52, Morten Nielsen wrote:
> > Been trying to add support for the Cisco Small business switches in my
> > Rancid 2.38.
> > 
> >  
> > 
> > I finally found the updated versions of csbrancid and csblogin files
> > here but still seems to be some issue with my SG300
> > 
> > http://www.gossamer-threads.com/lists/rancid/users/6910
> > 

are they not using the usual IOS cli?

> > Maybe i miss something with this line, as I don?t know what he means:?
> > 
> > ?- End of run fix (important for be sure to get the full configuration
> > dump)?
> > 
> >  
> > 
> > My log just says:
> > 
> > Trying to get all of the configs.
> > 
> > sg300-10p csblogin error: Error: TIMEOUT reached
> > 
> > sg300-10p missed cmd(s): show version,show system,show startup-config
> > 
> > sg300-10p End of run not found
> > 
> >  
> > 
> > I can log in just fine using .clogin sg300-10p
> > 
> > Only odd thing is the 4 blank lines, but I don?t know if they are important.
> > 
> > ------------------
> > 
> > rancid at ubuntu:~$ bin/clogin sg300-10p
> > 
> > sg300-10p
> > 
> > spawn ssh -c 3des -x -l rancid sg300-10p
> > 
> > rancid at sg300-10p's password:
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > SG300-10P#
> > 
> > SG300-10P#
> > 
> > ------------------
> > 
> >  
> > 
> > My .cloginrc
> > 
> > # Switches
> > 
> > add userprompt sg*.*    {"User Name:"}
> > 
> > add user sg*.*  {rancid}
> > 
> > add password sg*.*      {pass}
> > 
> > add autoenable sg*.*    1
> > 
> > add method sg*.*        ssh
> > 
> >  
> > 
> > I?ve commenting lines out, removing {} and googled a lot, so feel I?ve
> > tried evertyhing but to no avail.
> > 
> >  
> > 
> > Hope someone have some idea
> 
> Does csbrancid support -d like regular rancid does? If so
> 
> csbrancid -d >hostname>
> 
> let it complete and a full log is left in the current directory. It
> usually has enough info for you to figure out why it failed.
> 
> 
> -- 
> Alan McKinnon
> alan.mckinnon at gmail.com
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list