[rancid] IOS interfaces (show controllers) reappear after rancid upgrade

Marki jm+rancid at roth.lu
Wed Aug 5 12:45:22 UTC 2015

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.

More information about the Rancid-discuss mailing list