[rancid] Re: expect script help

Martin Barry marty at supine.com
Wed Feb 3 16:05:51 UTC 2010

$quoted_author = "Brian Lam" ;
> it looks like it's not looping anymore but it's not updating any of the f10
> switches (the previous working f10 are not updated either). rancid log shows
> the following for all force10 router:

I think it might be because it has a two stage "quit" rather than just
needing a different command.

> maybe i will target the stanza instead and have better luck.  the loop
> output is below.  the first 'exit' works but the 2nd on throws an error '%
> Invalid input detected at '^' marker.'

Try something like

        "Invalid input detected at"        { # F10 two stage quit
                                             send -h "quit\r"


More information about the Rancid-discuss mailing list