[rancid] ignoring toggling/changing output lines

Roman Hochuli roman.hochuli at nexellent.ch
Tue Aug 7 09:27:56 UTC 2012

Dear All

As much as I love RANCID I am fighting with two anoyances which I, at
the moment, have no ideas how to fix them.

The first one I do not seem to be the only one beeing hit by: changing
type 7 passwords within l2tp-class-sections on Cisco routers. As from
what the archives say this is probably even expected behaviour according
to TAC. Changesets look something like this:
  l2tp-class NAME
-  password 7 abcabcabcabcabcabc
+  password 7 xyzxyzxyzxyzxyzxyz

To be honest: I would be glad with a solution that simply ingores the
password, but only the l2tp-class one. I would like to keep the other
passwords in the config. Any ideas?

The second issue involves Brocades (former Foundry Networks) Metro Ring
Protocol. You have to specify two interfaces which are defining the east
and west side of the ring as from this boxes perspective. Sure, they
might change if a break in the ring happens. But I am seeing toggling
between these interfaces way more than we have ring-breaks...

A typical output of such a changeset would look like this:
   metro-ring ID
-   ring-interfaces  ethernet 1  ethernet 7
+   ring-interfaces  ethernet 7  ethernet 1

Any ideas how to filter this toggling, but still keep the informations
about the ring-interfaces in the output?

Best regards,
Roman Hochuli
Operations Manager

nexellent ag
Saegereistrasse 33
CH-8152 Glattbrugg

Phone:       +41 44 872 20 00
Fax:         +41 44 872 20 01
URL:         www.nexellent.ch
X-NCC-RegID: ch.nexellent

Imagination is the one weapon in the war
against reality.
                    -- Jules de Gaultier

More information about the Rancid-discuss mailing list