things deleted from the stored Cisco config

Ed Ravin eravin at
Sat Jun 4 06:14:39 UTC 2005

In the "rancid" script, we have:

 /^ip prefix-list\s+(\S+)\s+seq\s+(\d+)\s+(permit|deny)\s+(\d\S+)(\/.*)$/ &&
       ProcessHistory("PACL $1 $3","ipsort","$4","ip prefix-list $1 $3 $4$5\n")

Which deletes the "seq NN" portion of an ip prefix list.  So a prefix
list that looks like this:

  ip prefix-list my-nets seq 20 permit blah

is changed to:

  ip prefix-list my-nets permit blah

What's the reasoning behind this?

Also, at the top of the "show running-config" output from most of my
Ciscos, are these two handy lines:

! Last configuration change at 14:33:32 edt Wed Jun 1 2005 by eravin
! NVRAM config last updated at 14:35:18 edt Wed Jun 1 2005 by eravin

Why does rancid also delete these?  We depend on those lines to tell
who last modified the config and when they did it.

More information about the Rancid-discuss mailing list