[rancid] Cisco MDS/NX-OS timestamp in show command

Corey Quinn corey at sequestered.net
Wed Mar 16 19:19:45 UTC 2011


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 following.
> > !
> > !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?
> > 
> > Thanks!
> > 
> > --
> > BigBeer
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> 
> iQEcBAEBAgAGBQJNf9/aAAoJEPmSS8816iBeG8AH/1COVliS6zr8yBDgMF+IowNG
> /vDQonWt9tjnjDlCq1TBe13fSwGJISjbQkhPLiCBwAf/+b3xqLh9nykklMwVkuCC
> zZYdBvGekcjQYI8vGDo9fAsMhqPD8n5lNrbTlJ42yCbvz6q5chu8XTMxFVLzoRtk
> E+tI7ZjkyNOkU8VUMHLFeuEFZ7R821XrS/FxDFxrQxCXwnz6eqLMqrZ9TzWsYus2
> 9Oyog9WezIl7vb1tidQXmNGxnAcUJyFnVUwi4DmqcNmJhgNEJFuiHZlCyMrtsPHX
> Nq2RNd9uDo+Pr9Jr5Naa+dZMcFnV6IaM/dqDWfSNktLekTUQ+ahzzqce1eiz6vk=
> =XqjC
> -----END PGP SIGNATURE-----
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20110316/30b222a6/attachment.html>


More information about the Rancid-discuss mailing list