Re: [j-nsp] Clock drift and rancid annoyance

From: john heasley (heas@shrubbery.net)
Date: Tue Oct 02 2001 - 18:50:14 EDT


Tue, Oct 02, 2001 at 04:49:17PM -0500, Stephen Gill:
> My apologies. I originally thought you were talking about something
> else.
>
> You might check the status of your pcg(s) with the following command:
>
> user@host> show chassis environment pcg
>
> Assuming this is an M160 and you have two PCGs, how does the other one
> behave when active? Setting and measurement frequencies should be
> identical no? 125mhz
>
> -- steve
>

i dont know why it drifts, but here is the rancid laxitive (err, patch)
to filter it. YMMV, depending upon which version of rancid you are
using.

Index: jrancid.in
===================================================================
RCS file: /home/rancid/.CVS/rancid/bin/jrancid.in,v
retrieving revision 1.36
retrieving revision 1.37
diff -c -r1.36 -r1.37
*** jrancid.in 2001/07/06 17:14:56 1.36
--- jrancid.in 2001/08/20 19:55:19 1.37
***************
*** 152,157 ****
--- 152,160 ----
          /command is not valid/ && return;
          /^\s+\^/ && return;
          /syntax error/ && return;
+
+ # filter decimal places of m160 measured clock MHz
+ /Measured frequency/ && s/\..*MHz/ MHz/;
          ProcessHistory("","","","# $_");
      }
      return;



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:37 EDT