cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
6
Replies

NTP

dan.tesch
Level 1
Level 1

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?

6 Replies 6

spremkumar
Level 9
Level 9

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).

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

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!

Dan,

Any progress after setting the tolerance.....

just curious to know.

regards

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.