Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > configure ntp on a cisco router

Reply
Thread Tools

configure ntp on a cisco router

 
 
mikerinos2000@hotmail.com
Guest
Posts: n/a
 
      02-10-2004
I want to syncronize 7206 router with an external ntp server.
I have configured on my router
ntp server NTP_SERVER_IP.
set timezone MET 1
I have been waiting for a time, but the time of the router it's wrong.
I detail some features of cisco router.
sh ntp associations
address ref clock st when poll reach delay offset disp
~192.168.20.16 0.0.0.0 16 - 64 0 0.0 0.00 16000.
~131.188.3.221 0.0.0.0 16 - 64 0 0.0 0.00 16000.
* master (synced), # master (unsynced), + selected, - candidate, ~ configured

sh ntp status

Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
reference time is C3D2AEEA.41751DF6 (02:14:18.255 MET Tue Feb 10 2004)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 375.02 msec, peer dispersion is 375.02 msec

There is something more I haven't configured.
Mat
 
Reply With Quote
 
 
 
 
Ivan Ostres
Guest
Posts: n/a
 
      02-10-2004
In article <(E-Mail Removed) >,
http://www.velocityreviews.com/forums/(E-Mail Removed) says...
> I want to syncronize 7206 router with an external ntp server.
> I have configured on my router
> ntp server NTP_SERVER_IP.
> set timezone MET 1
> I have been waiting for a time, but the time of the router it's wrong.
> I detail some features of cisco router.
> sh ntp associations
> address ref clock st when poll reach delay offset disp
> ~192.168.20.16 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> ~131.188.3.221 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> * master (synced), # master (unsynced), + selected, - candidate, ~ configured
>
> sh ntp status
>
> Clock is unsynchronized, stratum 16, no reference clock
> nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
> reference time is C3D2AEEA.41751DF6 (02:14:18.255 MET Tue Feb 10 2004)
> clock offset is 0.0000 msec, root delay is 0.00 msec
> root dispersion is 375.02 msec, peer dispersion is 375.02 msec
>
> There is something more I haven't configured.
> Mat
>


Send 'sho ntp assoc detail'. It looks like router can't talk to external
server (maybe bad authentication?).


--
Ivan
 
Reply With Quote
 
 
 
 
Johnny Routin
Guest
Posts: n/a
 
      02-10-2004

Set your clock on the router to be close to the actual time... I've seen
where it won't sync if it's too far from the real time... that or
authentication...

JR
--
Johnny Routin


-




<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I want to syncronize 7206 router with an external ntp server.
> I have configured on my router
> ntp server NTP_SERVER_IP.
> set timezone MET 1
> I have been waiting for a time, but the time of the router it's wrong.
> I detail some features of cisco router.
> sh ntp associations
> address ref clock st when poll reach delay offset

disp
> ~192.168.20.16 0.0.0.0 16 - 64 0 0.0 0.00

16000.
> ~131.188.3.221 0.0.0.0 16 - 64 0 0.0 0.00

16000.
> * master (synced), # master (unsynced), + selected, - candidate, ~

configured
>
> sh ntp status
>
> Clock is unsynchronized, stratum 16, no reference clock
> nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is

2**18
> reference time is C3D2AEEA.41751DF6 (02:14:18.255 MET Tue Feb 10 2004)
> clock offset is 0.0000 msec, root delay is 0.00 msec
> root dispersion is 375.02 msec, peer dispersion is 375.02 msec
>
> There is something more I haven't configured.
> Mat



 
Reply With Quote
 
M.C. van den Bovenkamp
Guest
Posts: n/a
 
      02-10-2004
Johnny Routin wrote:

> Set your clock on the router to be close to the actual time... I've seen
> where it won't sync if it's too far from the real time...


I have never seen that, actually. It would make NTP less than useful on
boxes like 2500s, which have no backup clock and start decades in the
past (Mar 1 1970?) after a reload.

NTP will sync them just fine without having to set the clock manually first.

Regards,

Marco.

 
Reply With Quote
 
Rod Dorman
Guest
Posts: n/a
 
      02-10-2004
In article <(E-Mail Removed) >,
(E-Mail Removed) <(E-Mail Removed)> wrote:
>I want to syncronize 7206 router with an external ntp server.
>I have configured on my router
>ntp server NTP_SERVER_IP.
>set timezone MET 1
> ... tale of woe snipped ...
>There is something more I haven't configured.


By default the source IP address your packets go out with is that of
the interface they're going out of. If that address isn't reachable
from the NTP server you'll never get the response.

Try adding a "ntp source" statement to see if it helps.

--
-- Rod --
rodd(at)polylogics(dot)com
 
Reply With Quote
 
Juraj Ljubesic
Guest
Posts: n/a
 
      02-11-2004
On 10 Feb 2004 02:51:29 -0800, (E-Mail Removed)
((E-Mail Removed)) wrote:

>I want to syncronize 7206 router with an external ntp server.
>I have configured on my router
>ntp server NTP_SERVER_IP.
>set timezone MET 1
>I have been waiting for a time, but the time of the router it's wrong.
>I detail some features of cisco router.
>sh ntp associations
> address ref clock st when poll reach delay offset disp
> ~192.168.20.16 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> ~131.188.3.221 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> * master (synced), # master (unsynced), + selected, - candidate, ~ configured
>
>sh ntp status
>
>Clock is unsynchronized, stratum 16, no reference clock
>nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
>reference time is C3D2AEEA.41751DF6 (02:14:18.255 MET Tue Feb 10 2004)
>clock offset is 0.0000 msec, root delay is 0.00 msec
>root dispersion is 375.02 msec, peer dispersion is 375.02 msec
>
>There is something more I haven't configured.
>Mat


Is there any firewall?
NTP works on UDP port 123 in both directions. It is necessary to
permit incoming UDP traffic on that port.
And try with NTP version 2 (default is 3).
Jura
 
Reply With Quote
 
mikerinos2000@hotmail.com
Guest
Posts: n/a
 
      02-11-2004
I have a cluster software. I have two nodes. The node I had configured
it was the cluster, but It doesn't works. I must put a node as a
server prefer and the other node as ntp server also.
Thanks for all comments.
Mat
Juraj Ljubesic <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>. ..
> On 10 Feb 2004 02:51:29 -0800, (E-Mail Removed)
> ((E-Mail Removed)) wrote:
>
> >I want to syncronize 7206 router with an external ntp server.
> >I have configured on my router
> >ntp server NTP_SERVER_IP.
> >set timezone MET 1
> >I have been waiting for a time, but the time of the router it's wrong.
> >I detail some features of cisco router.
> >sh ntp associations
> > address ref clock st when poll reach delay offset disp
> > ~192.168.20.16 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> > ~131.188.3.221 0.0.0.0 16 - 64 0 0.0 0.00 16000.
> > * master (synced), # master (unsynced), + selected, - candidate, ~ configured
> >
> >sh ntp status
> >
> >Clock is unsynchronized, stratum 16, no reference clock
> >nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
> >reference time is C3D2AEEA.41751DF6 (02:14:18.255 MET Tue Feb 10 2004)
> >clock offset is 0.0000 msec, root delay is 0.00 msec
> >root dispersion is 375.02 msec, peer dispersion is 375.02 msec
> >
> >There is something more I haven't configured.
> >Mat

>
> Is there any firewall?
> NTP works on UDP port 123 in both directions. It is necessary to
> permit incoming UDP traffic on that port.
> And try with NTP version 2 (default is 3).
> Jura

 
Reply With Quote
 
Dave Katz
Guest
Posts: n/a
 
      02-12-2004
The software from which the cisco NTP was derived (xntpd) indeed will
not step the clock more than a couple of minutes, as a paranoid robustness
measure. However, given that the only cisco machine with a $2 digital
watch chip and battery at the time was the 7000, the vast majority of
systems woke up thinking it was March 1 1993 and thus required the time
to be stepped by a large amount. So the step limiter was removed.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure an ntp client deanamallery@gmail.com Cisco 1 07-09-2012 03:38 PM
NTP Server on a Cisco Router snowy Cisco 7 04-03-2008 08:42 PM
ReQ; Help having problem with cisco router 1602R the Lan part works cannot log on to configure so PC can access internet, router connects to T1 line thier is an alarm light on anyone can help smokin@aol.com Computer Support 4 10-30-2004 06:06 AM
ntp from ntp.org Scott Crabb Cisco 5 08-06-2004 09:30 PM
Cisco Router as a NTP Server Jim Williams Cisco 3 12-18-2003 08:19 AM



Advertisments