quote from:https://community.cisco.com/t5/collaboration-knowledge-base/changing-the-ntp-source-in-cucm-from-cli-and-other-helpful/ta-p/3157615
Sometimes, you may want to change the NTP source of your Cisco Unified Communications Manager. Here’s some information that might help with the procedure.
To view your current NTP configuration:
![]()
To test NTP reachability, clock drift & stratum:
![]()
Notice that the NTP status command shows 192.168.213.140 as my only NTP reference. If you wanted to add a new NTP reference you could use the command “utils ntp server add X.X.X.X”. Before adding the new NTP reference, you might want to make sure you can reach the device first:
![]()
Once you confirmed connectivity, you can proceed: “utils ntp server add X.X.X.X”
![]()
Furthermore, if you want to delete the old NTP reference for whatever reason: “utils ntp server delete”
![]()
Once you’re ready to go; you can manually restart the NTP service:
![]()
Notice the old reference is now gone, and we only have 1 NTP server with an IP address of 192.168.201.52:
![]()
After doing these changes, you might have to log into the CUCM admin page and specify a new NTP reference for your Date/Time Groups:
Go to CUCM administration page >> System >> Phone NTP reference >> Add New:
![]()
Once you have that covered go to System >>Date/Time Group >> Choose your DTG >> Add Phone NTP reference:
![]()
At this point you can add the new NTP server and remove any NTP servers you will no longer need.
![]()
***VERY IMPORTANT***
Changing the NTP server in the Date/Time Group will reset all the devices in the Device Pools associated to the Date/time group in question. If you are using a CUCM version 8.6+ and the environment is virtualized, you will get a message on your Admin home page letting you know you’re running on a trail period. This is expected. Please contact TAC at www.cisco.com or call 1800-553-2447 to have a license re-host for your virtual MAC.
Useful Documents/information:
Administration guide for CUCM 8.6 / NTP settings:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cucos/8_6_1/cucos/osg_861_cm/iptpch4.html#wp1053371
Issue with Time Synchronization on Cisco Unified Communications Manager with Network Time Protocol Server – last updated 2010
http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-version-60/111973-ntp-sync.html
CUCM NTP Command line reference for CUCM 8.6:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/8_6_1/cli_ref_861.html#pgfId-42375
CUCM NTP Command line reference for CUCM 10.X:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/10_5_2/CUCM_BK_CA8D6D40_00_cucm-cli-reference-guide-1052/CUCM_BK_CA8D6D40_00_cucm-cli-reference-guide-1052_chapter_01001.html#d3795e7869a1635
Settings that could affect your Virtual License MAC CUCM 8.X:
![]()
Sometimes, you may want to change the NTP source of your Cisco Unified Communications Manager. Here’s some information that might help with the procedure.
To view your current NTP configuration:
![]()
To test NTP reachability, clock drift & stratum:
![]()
Notice that the NTP status command shows 192.168.213.140 as my only NTP reference. If you wanted to add a new NTP reference you could use the command “utils ntp server add X.X.X.X”. Before adding the new NTP reference, you might want to make sure you can reach the device first:
![]()
Once you confirmed connectivity, you can proceed: “utils ntp server add X.X.X.X”
![]()
Furthermore, if you want to delete the old NTP reference for whatever reason: “utils ntp server delete”
![]()
Once you’re ready to go; you can manually restart the NTP service:
![]()
Notice the old reference is now gone, and we only have 1 NTP server with an IP address of 192.168.201.52:
![]()
After doing these changes, you might have to log into the CUCM admin page and specify a new NTP reference for your Date/Time Groups:
Go to CUCM administration page >> System >> Phone NTP reference >> Add New:
![]()
Once you have that covered go to System >>Date/Time Group >> Choose your DTG >> Add Phone NTP reference:
![]()
At this point you can add the new NTP server and remove any NTP servers you will no longer need.
![]()
***VERY IMPORTANT***
Changing the NTP server in the Date/Time Group will reset all the devices in the Device Pools associated to the Date/time group in question. If you are using a CUCM version 8.6+ and the environment is virtualized, you will get a message on your Admin home page letting you know you’re running on a trail period. This is expected. Please contact TAC at www.cisco.com or call 1800-553-2447 to have a license re-host for your virtual MAC.
Useful Documents/information:
Administration guide for CUCM 8.6 / NTP settings:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cucos/8_6_1/cucos/osg_861_cm/iptpch4.html#wp1053371
Issue with Time Synchronization on Cisco Unified Communications Manager with Network Time Protocol Server – last updated 2010
http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-version-60/111973-ntp-sync.html
CUCM NTP Command line reference for CUCM 8.6:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/8_6_1/cli_ref_861.html#pgfId-42375
CUCM NTP Command line reference for CUCM 10.X:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/10_5_2/CUCM_BK_CA8D6D40_00_cucm-cli-reference-guide-1052/CUCM_BK_CA8D6D40_00_cucm-cli-reference-guide-1052_chapter_01001.html#d3795e7869a1635
Settings that could affect your Virtual License MAC CUCM 8.X:
![]()
参考信息:
https://community.cisco.com/t5/collaboration-voice-and-video/changing-the-ntp-source-in-cucm-from-cli-and-other-helpful/ta-p/3157615