[rancid] Trouble grabbing configs from a Foundry FesX
Scott Baker
bakers at canbytel.com
Thu Jul 3 16:09:21 UTC 2014
On 07/03/2014 09:02 AM, heasley wrote:
> flogin -t 180 -c 'show version;show chassis;show module;show flash;write term;show running-config' hostname
>
Looks like it times out waiting for the prompt? Maybe the regexp doesn't
match it?
rancid at green(~)
:time /usr/libexec/rancid/flogin -t 30 -c "show version;show
chassis;show module;show flash;write term;show running-config"
foundry-needy.domain.com 2>&1 | ts
Jul 03 09:05:55 foundry-needy.domain.com
Jul 03 09:05:55 spawn ssh -c 3des -x -l root foundry-needy.domain.com
Jul 03 09:06:02 root at foundry-needy.domain.com's password:
Jul 03 09:06:32 BR-SSH at FESX-Needy#
Jul 03 09:06:32 Error: TIMEOUT reached
I noticed the telnet prompt and the ssh prompt are different?
BR-SSH at FESX-Needy#
vs
BR-telnet at FESX-Needy#
But that seems pretty minor.
--
Scott Baker - Canby Telcom
Senior System Administrator - RHCE
More information about the Rancid-discuss
mailing list