[rancid] End of config in Extreme Switches

Aleksey P paleola at gmail.com
Thu Oct 3 06:49:05 UTC 2013


Hello. And how we can implement it to xrancid?


2013/10/3 James Andrewartha <jandrewartha at ccgs.wa.edu.au>

> On 02/10/13 18:09, Alan McKinnon wrote:
> > To me that's a more sensible approach - you can't include checks for
> > markers that do not exist in the output.
>
> The entrancid (Enterasys) I have looks like it matches on the exit
> command sent by entlogin itself to set $found_end:
>
> sub ShowConfig {
>     print STDERR "    In ShowConfig: $_" if ($debug);
>
>     while (<INPUT>) {
> <snip>
>     }
>     if (/exit/) {
>     $found_end = 1;
>     $clean_run = 1;
>     return(1);
>     }
>     return(0);
> }
>
> --
> James Andrewartha
> Network & Projects Engineer
> Christ Church Grammar School
> Claremont, Western Australia
> Ph. (08) 9442 1757
> Mob. 0424 160 877
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20131003/84b8bbad/attachment.html>


More information about the Rancid-discuss mailing list