Expect

Mike Hyde mhyde at escape.ca
Sun Aug 12 02:35:31 UTC 2001


Cisco

Box is a P3 with peak loads of 1.5 dumping configs from a local router with
little load.

Running clogin with just show run works sometimes and not others on the same
box.

----- Original Message -----
From: "Josh Richards" <jrichard at digitalwest.net>
To: <rancid-discuss at guelah.shrubbery.net>
Sent: Saturday, August 11, 2001 2:59 PM
Subject: Re: Expect


> * Mike Hyde <mhyde at escape.ca> [20010810 14:33]:
> > Well I give up on expect.  It keeps freezing when I run config dumps.
Does
> > anyone have a hack to remove using expect or a way to slow down the
config
> > dump?
>
> What is the target (e.g. Cisco, Juniper, RedBack, etc.)?
>
> > I have tried multiple versions of expect, but have been unable to get it
to
> > work.
>
> Hmm...something definitely sounds awry.  Unless you've got network
problems
> between the box running Rancid and the target or a really slow box I'm not
> sure why that'd be occurring.
>
> > I am running Linux Mandrake 8.0 with the newest version of expect.  I
tried
> > unsucessfuly to compile 5.24 but gcc is too new for it.
>
> Expect 5.25.0 here and working fine.
>
> > Any ideas?
>
> What happens when you do a ~rancid/bin/clogin -c "show run" <router> or
the
> equivalent for your platform (clogin = Cisco, jlogin = Juniper, elogin =
ADC,
> flogin = foundry)?  The command," -c <command>", above is for Cisco.
>
> -jr




More information about the Rancid-discuss mailing list