[rancid] Re: Maximum length of config

Mordechai T. Abzug morty at frakir.org
Mon Jul 3 22:20:41 UTC 2006


On Fri, Jun 30, 2006 at 12:52:57AM +0100, Jee Kay wrote:

> I've got a device that returns 35k+ lines of config... and expect
> doesn't seem to be very happy about that. Specifically it seems to
> give up after roughly 29k lines - I'm guessing a buffer of some
> description has filled up.

Which device type?

rancid is actually a collection of scripts.  There are different
scripts for different device types.

> Sorry for the newbie expect question, but is this a known 'problem'
> and if so how do I go about making it go away? :)

Not a problem for me, for the device types I use.

Look inside the *login script for your device type and see if it
includes exp_continue in the run_commands equivalent; or match_max; or
handling for full_buffer.

- Morty



More information about the Rancid-discuss mailing list