[rancid] Trouble with dlogin for dell switch config
Alan Aldrich
aaldrich at ihouseweb.com
Mon Feb 6 20:08:15 UTC 2012
I have been using rancid fine for my cisco routers and switches and
just found the dell extensions but am having trouble making it work for
my Dell switch 6248
I am running rancid 2.3.5 on Centos 5.4
I got drancid and dlogin and modified rancid-fe to include dell and it logs in to the dell switch ok, but hangs trying to send
logout
example:
-bash-3.2$ /usr/local/rancid/bin/dlogin -c "show ver" 10.1.1.21
10.1.1.21
spawn telnet 10.1.1.21
Trying 10.1.1.21...
Connected to 10.1.1.21.
Escape character is '^]'.
User:aaldrich
Password:*********
Herakles Access>enable
Herakles Access#
Herakles Access#show ver
Image Descriptions
image1 : default image
image2 :
Images currently available on Flash
--------------------------------------------------------------------
unit image1 image2 current-active next-active
--------------------------------------------------------------------
1 2.2.0.3 3.2.0.7 image2 image2
2 2.2.0.3 3.2.0.7 image2 image2
Error: TIMEOUT reached
can not find channel named "exp6"
while executing
"send -s "$logout\r""
(procedure "run_commands" line 30)
invoked from within
"run_commands $prompt $command"
("foreach" body line 138)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
# Figure out the prompt.
# autoenabl..."
(file "/usr/local/rancid/bin/dlogin" line 660)
-bash-3.2$
Log file shows similar issue when trying rancid-run
opened network stream from 10.1.1.21 if () at /usr/local/rancid/bin/drancid line 272.
can not find channel named "exp6"
while executing
"send $send_this"
(procedure "dsend" line 4)
invoked from within
"dsend "[subst -nocommands [lindex $commands $i]]\r""
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
for {set i 0} {$..."
(procedure "run_commands" line 13)
invoked from within
"run_commands $prompt $command"
("foreach" body line 138)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
# Figure out the prompt.
# autoenabl..."
(file "/usr/local/rancid/bin/dlogin" line 660)^M
found_end = 0, clean_run = 0
10.1.1.21: missed cmd(s): show running-config,show vlan
10.1.1.21: End of run not found
Any help or ideas appreciated
More information about the Rancid-discuss
mailing list