[rancid] Re: problem running command files on Netscreens using nlogin - x

john heasley heas at shrubbery.net
Thu Aug 31 21:34:53 UTC 2006

Wed, Aug 30, 2006 at 08:25:52PM -0400, psmith at metafore.ca:
> I did try using the -x first, and got the exact same results once it hit a
> line that contained the first vrouter changes, which below is set vrouter
> "untrust-vr".
> unset interface tunnel.1 ip
> unset interface tunnel.2 ip
> unset interface untrust track-ip ip
> unset interface trust dhcp server option dns1
> set vrouter "untrust-vr"
> unset route interface serial
> unset route vrouter "trust-vr"
> exit
> Also, in order to get out of a vrouter config on a Netscreen, you must have
> the exit command issued. Once rancid sees exit, it quits everything, even
> though there is more commands to be run, it was just exiting the router
> config mode.

The script does not parse your "exit" in any fashion, so it should not be
exiting due to that.  There has to be something causing the config editor
or connection to terminate.  Sorry, I do not have a netscreen to test.

More information about the Rancid-discuss mailing list