I came across an issue where the IP phones were not able to keep proper time. After troubleshooting the issue, I found that the DHCP option 42 (NTP server) pointed to the Windows 2016 server running windows time. The phones couldn’t keep proper time.
I searched the Internet for issues with Windows and NTP and found blogs pointing to people having issues with NTP on windows.
So it seems more difficult using time off the windows server than it is to setup NTP on the cisco switches. So I opted to use NTP off the Cisco switches.
First, I swung the DHCP option to point to the Core switch by IP address.
Now typically I use NTP off the core network switch pointed back to the public pools at NIST: https://tf.nist.gov/tf-cgi/servers.cgi
Being in Boulder Colorado, I use the two University of Colorado NTP servers, but I haven’t had an issues with any of the NIST servers.
My configuration on my core switch is simple and easy once you have defined the servers you want to use.
CoreSwitch(config)#nntp server 220.127.116.11
CoreSwitch(config)#ntp server 18.104.22.168 prefer
To validate that NTP is working use the “show ntp status” command:
CoreSwitch #show ntp status
Clock is synchronized, stratum 2, reference is 22.214.171.124
nominal freq is 119.2092 Hz, actual freq is 119.2086 Hz, precision is 2**17
reference time is DE2C5A76.620E294F (11:24:54.383 MST Mon Feb 12 2018)
clock offset is -2.1640 msec, root delay is 5.14 msec
root dispersion is 28.62 msec, peer dispersion is 5.15 msec
loopfilter state is ‘CTRL’ (Normal Controlled Loop), drift is 0.000005685 s/s
system poll interval is 128, last update was 326 sec ago.
After validating NTP was functioning on the core switch and swinging over the DHCP option to point at the switch, we rebooted all the phones. Didn’t have any issue with time again. My point is that if you’re having issues with time, you probably want to just setup time on the network devices and point your clients to the switch. It is much easier and stable than keeping time updated from the windows servers.
Jason Howe, PEI