[j-nsp] NTP service
M. Asim Rasheed
asim@halcyon.usc.edu
Mon, 2 Sep 2002 16:08:37 -0700 (PDT)
Javier,
What is the output of 'show ntp associations"? The fact that sync_alarm is
up and that refid is 0.0.0.0 means that clock syncronization to an
external source was not made.
Also syncing won't take place if the difference is more than 128 seconds.
You may want to set your local router's time (set date) so that it is <128
secs from the time on 10.128.0.20. In addition, I am assuming you rebooted
the router, because otherwise the boot-server statement won't work.
Hope this helps.
--A
On Mon, 2 Sep 2002, Javier Alvira wrote:
> Hi all
>
> I would like to know whether there is something special when configuring a
> NTP server in a Juniper (M-10, 5.0R1.4). This is what I configured:
>
>
> time-zone Europe/Lisbon;
>
> ntp {
> boot-server 10.128.0.20;
> server 10.128.0.20;
> }
> -------------------------------------
>
>
> The "monitor traffic interface fe-0/0/0" shows this (10.128.0.20 is the NTP
> server, inside customer's network):
>
> 15:25:48.737589 Out xx.yy.zzz.44.ntp > 10.128.0.20.ntp: v3 client strat 0
> poll 6 prec -20 [tos 0x10]
> 15:25:48.745207 In No-L2-hdr 10.128.0.20.ntp > xx.yy.zzz.44.ntp: v3 server
> strat 1 poll 6 prec -19
> -----------------------------------
>
>
> But this is the output for "show ntp status":
>
>
> status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
> processor="i386", system="JUNOS5.0R1.4", leap=11, stratum=16,
> precision=-20, rootdelay=0.000, rootdispersion=6.105, peer=0,
> refid=0.0.0.0, reftime=00000000.00000000 Thu, Feb 7 2036 6:28:16.000,
> poll=6, clock=c119f9e3.d22c343b Fri, Aug 30 2002 15:04:19.820, state=1,
> phase=0.000, frequency=0.000, jitter=0.000, stability=0.000
> -----------------------------------------------------------
>
>
> So it seems it's not working... In fact, the initial difference of 16 secs
> (<128) has widened to 36 secs in 4 days...
>
> Any input will be welcome!
>
> Thanks,
>
> Javier
>