Discussion:
[rancid] how to ignore timestamps in config
Konstantin Yudayev
2009-12-11 16:24:32 UTC
Permalink
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:




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
Kozak, Voitek
2009-12-11 16:58:26 UTC
Permalink
look in archive for the thread

“Disabling timestamp on Cisco IO devices” was time stamp on my email

Tue 11/17/2009 4:08 AM, worked for me on crs. -:)



thanks,

-voitek.,



From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Konstantin Yudayev
Sent: Friday, December 11, 2009 11:25 AM
To: rancid-***@shrubbery.net
Subject: [rancid] how to ignore timestamps in config



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:




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
john heasley
2009-12-11 18:22:35 UTC
Permalink
Post by 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
turn them off. this must be the single most dysfunctional "feature" to
ever come out of cisco.
Post by Konstantin Yudayev
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
.........
.....
Fri Dec 11 16:21:04.666 UTC
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
.....
....
-!BootFlash: Thu Dec 10 10:01:37.984 UTC
+!BootFlash: Fri Dec 11 10:01:32.729 UTC
Thank you
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...