[rancid] IOS interfaces (show controllers) reappear after rancid upgrade
heasley
heas at shrubbery.net
Wed Aug 12 16:18:27 UTC 2015
Wed, Aug 05, 2015 at 03:01:18PM +0200, Alan McKinnon:
> On 05/08/2015 14:45, Marki wrote:
> > Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
> >
> >>
> >> What 2.3 version were you running?
> >>
> >> 2.3.8 should be doing the same as 3.2, here is the 2.3.8 code that does it:
> >
> >
> > Hmm, it was 2.3.6 I believe. Doesn't matter, ok, so it's there now/again,
> > and we have to deal with it.
> >
> > Can we add something to get rid of the PRI interfaces (up/down on-demand)?
> >
> > I have included this now in our rancid:
> >
> > # Remove dynamic PRI interfaces
> > if (/^Hardware is HDLC32/) {
> > if ($INT =~ /Serial[\d\/]+\d:(\d+), /) {
> > $1!=15 && next;
> > }
> > }
> >
> > right before the part above. Seems to work for me.
> > Feel free to use/include the snippet.
>
>
> That will work :-)
>
> Foe heasley to add this to upstream, you might want to reply and expound
> a little on how IOS lists these dynamic PRIs, with some output snippets.
More output context would help; esp. if there is something in the o/p of
that show command that will indicate that it is a dynamic interface.
> This is so it will work best for the general case.
>
>
> --
> Alan McKinnon
> alan.mckinnon at gmail.com
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
More information about the Rancid-discuss
mailing list