[rancid] Re: how to ignore timestamps in config
john heasley
heas at shrubbery.net
Fri Dec 11 18:22:35 UTC 2009
Fri, Dec 11, 2009 at 11:24:32AM -0500, Konstantin Yudayev:
> Hello,
>
> We have upgraded code on Cisco CRS router and looks like Cisco is now
> putting time stamp in front of every output (show ru, dir /all etc).
> RANCID believes that line belongs to config and has changed as a result
> I have a lot of "noise" in diff at every run. I have no problems adding
> regexp to exclude timestamps from the final output. Could Shrubbery guys
> advise on how to fix that problem (ignore timestamps in front of every
> output)? Here are some examples:
turn them off. this must be the single most dysfunctional "feature" to
ever come out of cisco.
>
>
>
> RP/0/RP1/CPU0:*********#show ru
> Fri Dec 11 16:17:01.115 UTC
> Building configuration...
> !! IOS XR Configuration
> !! Last configuration change at Thu Dec 10 18:16:46 2009 by
> !
> service timestamps log datetime localtime msec show-timezone
> service timestamps debug datetime localtime msec show-timezone
> .........
> .....
>
>
>
>
> RP/0/RP1/CPU0:*********#dir /all disk0:
> Fri Dec 11 16:21:04.666 UTC
>
> Directory of disk0:
>
> 2 drwx 32768 Thu Oct 8 09:37:25 2009 LOST.DIR
> 19493 dr-x 32768 Wed Dec 9 06:41:17 2009 bcm-cur
> .....
> ....
>
>
>
>
> As a result diff report is full of this stuff:
>
> -!BootFlash: Thu Dec 10 10:01:37.984 UTC
>
> +!BootFlash: Fri Dec 11 10:01:32.729 UTC
>
>
> Thank you
>
> - Konstantin Yudayev @Verizon
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list