Maximum Config Sizes

Ed Ravin eravin at panix.com
Wed Jul 6 21:05:55 UTC 2005


On Wed, Jul 06, 2005 at 09:07:19PM +0100, Jee Kay wrote:
> Is there a limit for config sizes that RANCID will handle? I have a
> NetScreen with a config in the silly numbers, and RANCID only seems to
> be capturing the first 1600 or so lines of it. Are there any timeouts
> or anything like that which might cause this?

By default, nrancid calls nlogin with a timeout of 90 seconds.  If that's
not long enough for your NetScreen to dump its config, then you won't
get the whole file.

Try running "nrancid -t 120 <routername>" to see if that gives you the rest
of (or more of) the config file.  If so, you can edit the default value
of $timeo in nrancid - look for this line:

     $timeo = 90;            # nlogin timeout in seconds

And adjust accordingly.




More information about the Rancid-discuss mailing list