[rancid] Cisco MDS/NX-OS timestamp in show command
bigbeerjr at gmail.com
Wed Mar 16 19:34:21 UTC 2011
Dang, I didn't make sure to reply back to the list...
The end fix for me was what Corey is suggesting.
+ /^!Time:/ && next;
On Wed, Mar 16, 2011 at 12:19 PM, Corey Quinn <corey at sequestered.net> wrote:
> Get the trailing space out of there and retest please...
> On Mar 16, 2011, at 12:01 PM, Daniel Chen <danielc at mozy.com> wrote:
> I threw the following patterns and it doesn't appear to be able to catch it
> in the nxrancid 2.3.6 tar release
> /^.Time: / && next; # kill this junk
> /^!Time: / && next;
> /^#Time: / && next;
> /!Time: / && next;
> So every run generates email and cvs check-in:
> !Command: show running-config
> - !Time: Wed Mar 16 11:37:57 2011
> + !Time: Wed Mar 16 11:53:28 2011
> From: "Corey Quinn" <corey at sequestered.net>
> To: "big beer" <bigbeerjr at gmail.com>
> Cc: rancid-discuss at shrubbery.net
> Sent: Tuesday, March 15, 2011 5:53:30 PM
> Subject: Re: [rancid] Cisco MDS/NX-OS timestamp in show command
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Toss this into the appropriate place:
> /!Time:/ && next;
> - -- Corey / KB1JWQ
> On Mar 15, 2011, at 12:43 PM, big beer wrote:
>> Hi List,
>> I'm running rancid 2.3.6 against a pair of cisco mds fiber switches.
>> everything works as expected except one little problem. My switches
>> are printing out a nice little banner with the timestamp whenever show
>> run is ran.
>> Obviously this is a problem, and my diffs end up looking like the
>> !DEBUG: % Permission denied
>> !Command: show running-config
>> - !Time: Tue Mar 15 18:01:13 2011
>> + !Time: Tue Mar 15 19:01:13 2011
>> version 5.0(1a)
>> no feature http-server
>> I found the thread in the list archives about suppressing the time
>> stamp out by editing the DoNothing() command to run no exec prompt
>> timestamp, but I think that is for a different type of timestamp, as I
>> made the change but I still get the timestamp. I can't even run no
>> exec prompt timestamp on the switch either.
>> Anyone have any experience and/or idea on where I should be focusing
>> to remove these timestamps?
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> -----END PGP SIGNATURE-----
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
More information about the Rancid-discuss