[rancid] Re: No successful runs - SSH AAA enabled devices

john heasley heas at shrubbery.net
Tue Nov 10 20:48:41 UTC 2009


Tue, Nov 10, 2009 at 09:35:53AM -0800, Michael K. Smith - Adhost:
> Hello Everyone:
> 
> Environment:
> FreeBSD 6.4
> Expect 5.44.1.11
> TCL 8.6
> 
> Problem:
> Any device that is ssh-enabled (version 2) using AAA authentication (so
> no secondary enable pass required) is failing.
> 
> .cloginrc info (sanitized)
> add user        hostname.tld.com    rancid
> add password    hostname.tld.com    p\@ssword (note the escape of the @)
> add autoenable  hostname.tld.com    1
> add method      hostname.tld.com    ssh
> add cyphertype  hostname.tld.com    3des
> 
> Troubleshooting:
> clogin -d hostname.tld.com -> Successful
> 
> Log Output:
> - Routers (GSR's)
> hostname.tld.com: missed cmd(s): show rsp chassis-info,show module,write
> term,show running-config
> hostname.tld.com: End of run not found
> - Switches (mix of 3560's and 4006's)
> hostname.tld.com: missed cmd(s): write term,show running-config
> hostname.tld.com: End of run not found
> 
> I've confirmed via clogin that the commands above, particularly the
> write term and sho running are working correctly.

try all the commands; look in the rancid script for the list.
clogin -c 'cmd1;cmd2;...' and verify that this works or helps identify
the problem.

freebsd's expect port seems to have recurring problems.  i know this combo
works ATM:
expect-5.43.0_3     A sophisticated scripter based on tcl/tk
tcl-8.3.5_8         Tool Command Language
FreeBSD 8.0-RC1


More information about the Rancid-discuss mailing list