09-07-2004 02:30 PM - edited 03-02-2019 06:18 PM
What is the command I should use in a 2611 config
to get it to use an NTP server? I have read several docs and I think it should be "ntp server HOST" but I tried that and I think I got an error - does it need to be in a certain place in the file if I pushed it to the router via TFTP? Do I need to do it by address instead of hostname?
09-07-2004 08:07 PM
hi
try this link which i hope can help u out ..
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a0080093f16.shtml#Q2
regds
09-08-2004 05:06 AM
Thanks, I already read some similar things - I am still a little stuck. I realized that I needed to be in the configure mode to issue the ntp commands.
I still can't figure out the following: my router clock still isn't right, gives some time in 1993, how do I force the time or give an update frequency?
Also the commands update-calendar doesn't seem to work - this is a 2611 running 121-19 does that give any clues? My router also doesn't seem to want to resolve hostnames, I needed to put ntp's in by IP (I did verify that the DNS's entered on the router are valid).
09-08-2004 05:30 AM
There was a post on here recently that related to NTP not updating the time. We use NTP and on our switches we simply put in the command:-
NTP SERVER a.b.c.d (which is the address of our 6509, which gets its time from an NTP server elswhere in our global network).
The poster tried this but it still didn't work. Someone else suggested manually setting the time to roughly the current time first.
The poster tried this and then the switch sync'd successfully. It seems as though, under some circumstances, the time needs to be within a certain proximity of the proper time before the device will sync.
It is probably worth trying to set the time manually and see if NTP does then sync.
Pete
09-08-2004 07:09 AM
Ahh, I think I knew that ntp wouldn't work outside of a certain tolerence - I tried setting it closer but not right on to see if it eventually synchs. thanks!
10-06-2004 04:25 PM
Dan,
Any progress after setting the tolerance.....
just curious to know.
regards
10-06-2004 06:52 PM
Actually, I needed to open the ACL to allow NTP.
I did not originally consider this because I figured NAT would allow it, I have other hosts behind the router accessing the same NTP server fine - I assumed the router would do the same.
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