[j-nsp] NTP service
Yi-Kuo Chan
yikuo_chan@yahoo.com.tw
Tue, 3 Sep 2002 11:03:00 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_007E_01C25339.779AA520
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
NTP servicehi javier :
=20
I just fix this problem last week (same hardware module & =
JUNOS)....
=20
step :
=20
1.under operational mode use set date command to set =
right time first =20
yikuo@TC_CR02> set date ?
Possible completions:
<time> New date and time =
(YYYYMMDDhhmm.ss)
yikuo@TC_CR02> set date 200209031055.00
=20
2.under configuration mode setup ntp server just =
like you done before
=20
=20
hope it can help you...=20
----- Original Message -----=20
From: Javier Alvira=20
To: juniper-nsp@puck.nether.net=20
Sent: Monday, September 02, 2002 11:52 PM
Subject: [j-nsp] NTP service
Hi all=20
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;=20
ntp {=20
boot-server 10.128.0.20;=20
server 10.128.0.20;=20
}=20
-------------------------------------=20
The "monitor traffic interface fe-0/0/0" shows this (10.128.0.20 is =
the NTP server, inside customer's network):=20
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]=20
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=20
-----------------------------------=20
But this is the output for "show ntp status":=20
status=3Dc011 sync_alarm, sync_unspec, 1 event, event_restart,=20
processor=3D"i386", system=3D"JUNOS5.0R1.4", leap=3D11, stratum=3D16,=20
precision=3D-20, rootdelay=3D0.000, rootdispersion=3D6.105, peer=3D0,=20
refid=3D0.0.0.0, reftime=3D00000000.00000000 Thu, Feb 7 2036 =
6:28:16.000,=20
poll=3D6, clock=3Dc119f9e3.d22c343b Fri, Aug 30 2002 15:04:19.820, =
state=3D1,=20
phase=3D0.000, frequency=3D0.000, jitter=3D0.000, stability=3D0.000=20
-----------------------------------------------------------=20
So it seems it's not working... In fact, the initial difference of 16 =
secs (<128) has widened to 36 secs in 4 days...=20
Any input will be welcome!=20
Thanks,=20
Javier=20
------=_NextPart_000_007E_01C25339.779AA520
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>NTP service</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D細明體 size=3D2>hi javier =
:</FONT></DIV>
<DIV><FONT face=3DMingLiu=20
size=3D2> &nbs=
p; =20
</FONT></DIV>
<DIV><FONT face=3DMingLiu=20
size=3D2> &nbs=
p; I just=20
fix this problem last week (same hardware module & =
JUNOS)....</FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2> </FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2> =20
step =
:</FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2> =20
&=
nbsp;</FONT></DIV>
<DIV><FONT face=3D細明體=20
size=3D2> &nbs=
p; =20
1.under operational mode use set date command to set=20
right time first </FONT> </DIV>
<DIV><FONT face=3DMingLiu=20
size=3D2> &nbs=
p; =20
<A href=3D"mailto:yikuo@TC_CR02">yikuo@TC_CR02</A>> set date=20
?<BR> &n=
bsp; =20
Possible=20
completions:<BR> &nb=
sp; =20
<time> &=
nbsp; =20
New date and time=20
(YYYYMMDDhhmm.ss)<BR> &nbs=
p; =20
<A href=3D"mailto:yikuo@TC_CR02">yikuo@TC_CR02</A>> set date=20
200209031055.00</FONT></DIV>
<DIV><FONT face=3D細明體 =
size=3D2> =20
</FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2> =
2.under =
configuration=20
mode setup ntp server just like you done before</FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2> =
</FONT></DIV>
<DIV><FONT face=3DMingLiu=20
size=3D2> &nbs=
p; </FONT></DIV>
<DIV><FONT face=3D細明體 size=3D2></FONT> </DIV>
<DIV><FONT face=3DMingLiu size=3D2> =
hope it can help you... </FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt 新細明體">----- =
Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt =
新細明體; font-color: black"><B>From:</B>=20
<A title=3Djalvira@nortelnetworks.com=20
href=3D"mailto:jalvira@nortelnetworks.com">Javier Alvira</A> </DIV>
<DIV style=3D"FONT: 10pt 新細明體"><B>To:</B> =
<A title=3Djuniper-nsp@puck.nether.net=20
=
href=3D"mailto:juniper-nsp@puck.nether.net">juniper-nsp@puck.nether.net</=
A>=20
</DIV>
<DIV style=3D"FONT: 10pt =
新細明體"><B>Sent:</B> Monday, September 02, =
2002 11:52=20
PM</DIV>
<DIV style=3D"FONT: 10pt =
新細明體"><B>Subject:</B> [j-nsp] NTP =
service</DIV>
<DIV><BR></DIV>
<P><FONT face=3DArial size=3D2>Hi all</FONT> </P>
<P><FONT face=3DArial size=3D2>I would like to know whether there is =
something=20
special when configuring a NTP server in a Juniper (M-10, 5.0R1.4). =
This is=20
what I configured:</FONT></P><BR>
<P><FONT face=3DArial size=3D2>time-zone Europe/Lisbon;</FONT> </P>
<P><FONT face=3DArial size=3D2>ntp {</FONT> <BR><FONT face=3DArial=20
size=3D2> boot-server 10.128.0.20;</FONT> <BR><FONT =
face=3DArial=20
size=3D2> server 10.128.0.20;</FONT> <BR><FONT =
face=3DArial=20
size=3D2>}</FONT> <BR><FONT face=3DArial=20
size=3D2>-------------------------------------</FONT> </P><BR>
<P><FONT face=3DArial size=3D2>The "monitor traffic interface =
fe-0/0/0" shows this=20
(10.128.0.20 is the NTP server, inside customer's network):</FONT> =
</P>
<P><FONT face=3DArial size=3D2>15:25:48.737589 Out xx.yy.zzz.44.ntp =
>=20
10.128.0.20.ntp: v3 client strat 0 poll 6 prec -20 [tos 0x10]=20
</FONT><BR><FONT face=3DArial size=3D2>15:25:48.745207 In =
No-L2-hdr=20
10.128.0.20.ntp > xx.yy.zzz.44.ntp: v3 server strat 1 poll 6 =
prec=20
-19</FONT> <BR><FONT face=3DArial=20
size=3D2>-----------------------------------</FONT> </P><BR>
<P><FONT face=3DArial size=3D2>But this is the output for "show ntp=20
status":</FONT> </P><BR>
<P><FONT face=3DArial size=3D2>status=3Dc011 sync_alarm, sync_unspec, =
1 event,=20
event_restart,</FONT> <BR><FONT face=3DArial =
size=3D2>processor=3D"i386",=20
system=3D"JUNOS5.0R1.4", leap=3D11, stratum=3D16,</FONT> <BR><FONT =
face=3DArial=20
size=3D2>precision=3D-20, rootdelay=3D0.000, rootdispersion=3D6.105, =
peer=3D0,</FONT>=20
<BR><FONT face=3DArial size=3D2>refid=3D0.0.0.0, =
reftime=3D00000000.00000000 =20
Thu, Feb 7 2036 6:28:16.000,</FONT> <BR><FONT face=3DArial =
size=3D2>poll=3D6, clock=3Dc119f9e3.d22c343b Fri, Aug 30 2002 =
15:04:19.820,=20
state=3D1,</FONT> <BR><FONT face=3DArial size=3D2>phase=3D0.000, =
frequency=3D0.000,=20
jitter=3D0.000, stability=3D0.000</FONT> <BR><FONT face=3DArial=20
=
size=3D2>-----------------------------------------------------------</FON=
T>=20
</P><BR>
<P><FONT face=3DArial size=3D2>So it seems it's not working... In =
fact, the=20
initial difference of 16 secs (<128) has widened to 36 secs in 4=20
days...</FONT> </P>
<P><FONT face=3DArial size=3D2>Any input will be welcome!</FONT> </P>
<P><FONT face=3DArial size=3D2>Thanks,</FONT> </P>
<P><FONT face=3DArial size=3D2>Javier =
</FONT></P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_007E_01C25339.779AA520--
-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw