[rancid] Rancid and dell powerconnect switches

Cédric B cedric.bassaget.ml at gmail.com
Thu May 19 15:04:03 UTC 2016


Hello,
I can't make rancid work with my dell powerconnect switches (m6220 / 
m6348). I'm stuck at dlogin level.
Here's what I've done :

Downloaded dlogin from http://web.rickyninja.net:81/rancid/ (quite old...).
Configured .cloginrc with :

add password    sw-dell-m1000-* {pass} {enable#pass}
add enableprompt sw-dell-m1000-*        {".*>"}

method is ssh and user is rancid.

when I do a dlogin :

rancid$  LANG=C bin/dlogin -f .cloginrc sw-dell-m1000-a1
sw-dell-m1000-a1
spawn ssh -c 3des -x -l rancid sw-dell-m1000-a1
rancid at sw-dell-m1000-a1's password:

A1-M6220>enable
Password:
Error: TIMEOUT reached
can not find channel named "exp6"
     while executing
"send $send_this"
     (procedure "dsend" line 4)
     invoked from within
"dsend "\r""
     ("foreach" body line 123)
     invoked from within
"foreach router [lrange $argv $i end] {
     set router [string tolower $router]
     send_user "$router\n"

     # Figure out the prompt.
     # autoenabl..."
     (file "bin/dlogin" line 660)

I've tried to set autoenable to 0 or 1 in .cloginrc : changes nothing, 
same result.
I've also tried this : 
http://www.shrubbery.net/pipermail/rancid-discuss/2015-October/008721.html

Any idea about what's wrong in my config ?
Regards



More information about the Rancid-discuss mailing list