[rancid] Re: IFBrief no longer reporting for Cisco gear with 2.3.2a7

Elliott, Andrew AElliott at xo.com
Fri Jan 11 20:19:00 UTC 2008


John,

Thanks so much for the answer!

I tried to add it myself by adding this line to the commandtable:

{'show ip interface brief'      => "ShowIFBrief"},

And this routine:

sub ShowIFBrief {
    print STDERR "    In ShowIFBrief: $_" if ($debug);

    while (<INPUT>) {
        tr/\015//d;
        last if (/^$prompt/);
        next if (/^(\s*|\s*$cmd\s*)$/);
        return(-1) if (/command authorization failed/i);
        ProcessHistory("COMMENTS","","","!IFBrief: $_");
    }
    ProcessHistory("COMMENTS","","","!\n");
    return(0);
}

---
Andrew Elliott
Tier II Data
XO Communications
desk: 989.758.6987
cell: 989.213.5794

 

> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net] 
> Sent: Friday, January 11, 2008 3:09 PM
> To: Elliott, Andrew
> Cc: john heasley; rancid-discuss at shrubbery.net
> Subject: Re: [rancid] IFBrief no longer reporting for Cisco 
> gear with 2.3.2a7
> 
> Fri, Jan 11, 2008 at 03:06:27PM -0500, Elliott, Andrew:
> > With the older version of rancid, the output of "show ip interface
> > brief" was included in the backups (preceeded in the output 
> by "IFBrief:
> > etc..."
> 
> No, that was never collected.  You had a local modification.
> 
> > Since moving to 2.3.2a7, that output is missing from the backups.
> > 
> > ---
> > Andrew Elliott
> > Tier II Data
> > XO Communications
> > desk: 989.758.6987
> > cell: 989.213.5794
> > 
> >  
> > 
> > > -----Original Message-----
> > > From: john heasley [mailto:heas at shrubbery.net] 
> > > Sent: Friday, January 11, 2008 2:52 PM
> > > To: Elliott, Andrew
> > > Cc: rancid-discuss at shrubbery.net
> > > Subject: Re: [rancid] IFBrief no longer reporting for Cisco 
> > > gear with 2.3.2a7
> > > 
> > > I do not understand what it is that you're calling 
> "IFBrief output."
> > > 
> > > Thu, Jan 10, 2008 at 04:17:49PM -0500, Elliott, Andrew:
> > > > Hello,
> > > > 
> > > > Is there any plans to include the IFBrief output in future 
> > > releases or
> > > > patches?  Since moving to 2.3.2a7, that portion of the 
> output is no
> > > > longer included in the backups.
> > > > 
> > > > Is there an easy way to edit bin/rancid to add the 
> support back in?
> > > > 
> > > > ---
> > > > (o<   Andrew Elliott                desk: 989.758.6987
> > > > //\   Tier II Data                  cell: 989.213.5794
> > > > V_/_  XO Communications  
> > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > > "Don't EVER cross the streams."
> > > > _______________________________________________
> > > > Rancid-discuss mailing list
> > > > Rancid-discuss at shrubbery.net
> > > > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> > > 
> 


More information about the Rancid-discuss mailing list