[rancid] Trouble grabbing configs from a Foundry FesX

heasley heas at shrubbery.net
Thu Jul 3 01:03:28 UTC 2014


Wed, Jul 02, 2014 at 01:55:33PM -0700, Scott Baker:
> On 07/02/2014 01:40 PM, Alan McKinnon wrote:
> > I don't have any Foundry kit, but for the benefit of all, why would
> > clogin work for the OP but flogin not work?
> 
> flogin does work with telnet, but it's REALLY slow. It times out if I
> try and use SSH. Just to login and get to an enable prompt seems to take
> about 20 seconds.
> 
> # Clogin
> time /usr/libexec/rancid/clogin -c "show chassis;" foundry-needy.domain.com
> 7.7 seconds
> 
> # flogin
> time /usr/libexec/rancid/flogin -c "show chassis;" foundry-needy.domain.com
> 43.2 seconds!!!

Couldn't tell you - debug it.  flogin -d ...., see where it's waiting and
why.  I do not know of a way to include timestamps in that debugging o/p,
so you'd have to tell us where its waiting.  or possibly good enough

flogin -d ... 2>&1 | while read ln; do echo -n `date +%s`; echo " $ln"; done

> Both using (what I think is) the same ~/.cloginrc
> 
> -- 
> Scott Baker - Canby Telcom 
> Senior System Administrator - RHCE
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss


More information about the Rancid-discuss mailing list