[rancid] Rancid and dell powerconnect switches

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

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
spawn ssh -c 3des -x -l rancid sw-dell-m1000-a1
rancid at sw-dell-m1000-a1's 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 : 

Any idea about what's wrong in my config ?

More information about the Rancid-discuss mailing list