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

Lee ler762 at gmail.com
Thu May 5 04:22:58 UTC 2022


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
>



More information about the Rancid-discuss mailing list