[rancid] Re: rancid issues with IOS XR

john heasley heas at shrubbery.net
Sat Mar 27 01:14:38 UTC 2010


Fri, Mar 26, 2010 at 08:05:10AM -0400, John Jetmore:
> This looks similar to a problem we had where the '#' symbols in our
> banner were being mistaken for the '#' in the enable prompt and
> confusing rancid.  One of my colleagues applied this patch before I
> was involved in our rancid install:
> 
> 423a428,435
> >         -re ".+##########.+Verification"      {
> >                                 # Account for the hosed up banner via telnet
> >                                 exp_continue
> >                               }
> >         -re ".+##########.+"  {
> >                                 # Account for the hosed up banner via ssh
> >                                 exp_continue
> >                               }
> 
> This may be a silly patch but it's worked for us and I've never had to
> reevaluate it.  If you used something like this you might have to
> change the number of contiguous hashes based on the output you sent.

nothing comes to mind thats universal.  i thought 
    # Default prompt.
    set prompt "(>|[^#]#| \\(enable\\))"
but that doesnt cover all cases.  sorry, just dont use # or > in the
banner; ! perhaps.


More information about the Rancid-discuss mailing list