[rancid] timeout problems with cisco switch/ap

Wayne Eisenberg Wayne.Eisenberg at CarolinasIT.com
Fri Sep 12 10:41:00 UTC 2014

I just love it when I solve my problem shortly after I ask for help.

After using clogin -d, I saw it was expecting (no pun intended) that I was not in enabled mode when I was. Set autoenable to 1 in .clogin and life is good for the switches.

Thanks for listening anyway. :)

From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Wayne Eisenberg
Sent: Friday, September 12, 2014 5:11 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] timeout problems with cisco switch/ap


I'm using rancid 2.3.8 to monitor some devices and everything works well except at this one location behind a firewall. Rancid runs great against the firewall itself, and I have no problem reaching the switches and APs behind the firewall. I can login to the switches fine (either directly with ssh on the rancid box or with clogin), but any command I try to issue never seems to execute on the switch when using clogin. (I have no problems if I login with ssh from the rancid box. Response to issued commands is as quick as expected.) Example:

[rancid at xxxxxx rancid]$ bin/clogin switch1
spawn ssh -c 3des -x -l administrator -p 10001 switch1

************************ Warning! Warning! Warning! ************************
  This system is restricted to authorized users.  Unauthorized
************************ Warning! Warning! Warning! ************************

Switch1#sh ver

Error: TIMEOUT reached
[rancid at xxxxxx rancid]$ sh ver
sh: ver: No such file or directory
[rancid at xxxxxx rancid]$

Changing the timeout in clogin to 90 seconds doesn't help. Any ideas?



The information in this Internet e-mail (and any attachments) is confidential, may be legally privileged and is intended solely for the Addressee(s) named above. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, then any dissemination or copying of this e-mail (and any attachments) is prohibited and may be unlawful. If you received this e-mail in error, please immediately notify us by e-mail or telephone, then delete the message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20140912/28d894a5/attachment.html>

More information about the Rancid-discuss mailing list