<div dir="auto">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?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 5 May 2022 at 4:23 PM, Lee <<a href="mailto:ler762@gmail.com">ler762@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 5/5/22, Steve O'Brien <<a href="mailto:sobrien@nso.edu" target="_blank">sobrien@nso.edu</a>> wrote:<br>
> Anyone? Hints, clues, anything?<br>
<br>
I haven't looked at rancid in a long time, but <a href="http://ios.pm" rel="noreferrer" target="_blank">ios.pm</a> used to have<br>
code to blank out the date for certain files. Look for<br>
<br>
if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping)/ ||<br>
/(smart-log\/agentlog|syslog)\s*$/) {<br>
# filter frequently changing files (dhcp & vlan database) from flash<br>
# change from:<br>
# 9 660 Jan 15 2011 20:43:54 vlan.dat<br>
# 9 660 Jan 15 2011 20:43:54 +00:00 vlan.dat<br>
# to:<br>
# vlan.dat<br>
# vlan.dat<br>
<br>
and copy/adjust for your own use.<br>
<br>
Regards<br>
Lee<br>
<br>
><br>
> On Mon, May 2, 2022 at 4:38 PM Steve O'Brien <<a href="mailto:sobrien@nso.edu" target="_blank">sobrien@nso.edu</a>> wrote:<br>
><br>
>> I have looked at a bunch of similar questions but still have not figured<br>
>> out how to get rancid to ignore the timestamp diff in IOS-XE devices.<br>
>><br>
>> - !Flash: bootflash: -rw- 5242880 May 1 2022 15:02:27 -10:00<br>
>> ssd<br>
>> + !Flash: bootflash: -rw- 5242880 May 2 2022 15:03:10 -10:00<br>
>> ssd<br>
>><br>
>> It seems like it was a recent change, I just updated the IOS-XE devices<br>
>> to<br>
>> Cisco IOS XE Software, Version 17.03.04<br>
>><br>
>> I am, and have been, using the standard cisco template<br>
>> running rancid 3.13-3<br>
>><br>
>> TIA,<br>
>> Steve<br>
>><br>
> --<br>
><br>
><br>
> *Steve O'Brien* | Senior Network Administrator<br>
><br>
> National Solar Observatory<br>
><br>
> Daniel K. Inouye Solar Telescope Project<br>
><br>
> 22 Ohi’a Ku Street, Pukalani, HI 96768<br>
><br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@www.shrubbery.net" target="_blank">Rancid-discuss@www.shrubbery.net</a><br>
<a href="https://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">https://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</blockquote></div></div>