[rancid] Getting notified on timestamp changes for IOS-XE devices

Daniel Kerse daniel.kerse at gmail.com
Thu May 5 04:37:20 UTC 2022


I wonder if this should be the default behaviour rather than the exception.
Does anyone really use rancid to track changes to files on their routers?

On Thu, 5 May 2022 at 4:23 PM, Lee <ler762 at gmail.com> wrote:

> On 5/5/22, Steve O'Brien <sobrien at nso.edu> wrote:
> > Anyone? Hints, clues, anything?
>
> I haven't looked at rancid in a long time, but ios.pm used to have
> code to blank out the date for certain files.  Look for
>
>         if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping)/ ||
>                  /(smart-log\/agentlog|syslog)\s*$/) {
>             # filter frequently changing files (dhcp & vlan database) from
> flash
>             # change from:
>             # 9          660 Jan 15 2011 20:43:54 vlan.dat
>             # 9          660 Jan 15 2011 20:43:54 +00:00 vlan.dat
>             # to:
>             #                                     vlan.dat
>             #                                            vlan.dat
>
> and copy/adjust for your own use.
>
> Regards
> Lee
>
> >
> > On Mon, May 2, 2022 at 4:38 PM Steve O'Brien <sobrien at nso.edu> wrote:
> >
> >> I have looked at a bunch of similar questions but still have not figured
> >> out how to get rancid to ignore the timestamp diff in IOS-XE devices.
> >>
> >> - !Flash: bootflash: -rw-          5242880   May 1 2022 15:02:27 -10:00
> >> ssd
> >> + !Flash: bootflash: -rw-          5242880   May 2 2022 15:03:10 -10:00
> >> ssd
> >>
> >> It seems like it was a recent change, I just updated the IOS-XE devices
> >> to
> >> Cisco IOS XE Software, Version 17.03.04
> >>
> >> I am, and have been, using the standard cisco template
> >> running rancid 3.13-3
> >>
> >> TIA,
> >> Steve
> >>
> > --
> >
> >
> > *Steve O'Brien* | Senior Network Administrator
> >
> > National Solar Observatory
> >
> > Daniel K. Inouye Solar Telescope Project
> >
> > 22 Ohi’a Ku Street, Pukalani, HI 96768
> >
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20220505/17cd1530/attachment.htm>


More information about the Rancid-discuss mailing list