04-24-2006 01:35 PM - edited 03-03-2019 02:55 AM
Hi,
I am trying to setup ntp on my 2611 ansd 2621 Cisco routers and so far on one of the routers I have ointed it to the nTP server that I want i.e. ntp0.cornell.edu. it seems that it working but the show clock smd output show the clock for 1999 and a wrong time and time-zone.
can someone please show me the steps by which I need to configure ntp on these routers?
I couldn't find any papers on the Cisco sute to show how to do this.
Thx,
Masood
04-24-2006 02:53 PM
It should be as easy as this...
ntp clock-period 17180483
ntp server x.x.x.x
Have you verified that you can in fact access the ntp server at the site...no ACL's/firewalls in the way? You could also debug ntp to see what's going on.
04-25-2006 05:44 AM
If the clock is showing 1999 then certainly the router is not learning the correct time via NTP. Either the NTP machine it is talking to has the wrong time (certainly not likely if it is leaning from the cornell.edu NTP server) or the router is not talking to the configured server (seems much more likely here). Either the command show ntp status or the command show ntp association would show whether the router was synced to the NTP server.
But correcting the issue with access to the NTP server will not fix the issue if the router is displaying the wrong time zone (unless the time zone displayed is UTC or GMT). NTP transmits time in UTC/GMT and it is up to the router to specify the timezone. Use the configuration global command clock timezone (and possible clock summer-time) to set the time zone on the router.
HTH
Rick
04-26-2006 04:21 AM
Can you post the output from:
show ntp association detail
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide