Without proper time synchronization, the timestamps found on all of the logs, traces and debugs available would be very difficult to align, thus making troubleshooting much more difficult. It's also critical for the generation of proper billing records and CDR (call detail records).
CUCM and NTP
By default, any CUCM subscribers that are added to the cluster will automatically synchronize their time with the publisher via NTP. No extra configuration is necessary.
However, the publisher will use its internal clock as the basis of time for the entire cluster unless you configure an external time source.
Cisco recommends that you use an external stratum-1, stratum-2, or stratum-3 external NTP server as a time source. This time source should use NTP version 4 AND not be running on a windows server which typically uses simple network time protocol (SNTP). Linux-based unified call managers cannot synchronize with SNTP.
See related articles at bottom of this post for more detailed NTP information (if you are not familiar with the "stratum" concept)
Configuring CUCM (Publisher) to Use External NTP Source
- Choose OS Administration > Settings > NTP Server in order to navigate to the Cisco Unified Operating System Admin web interface.
- Configure an IP addres for a stratum-1, stratum-2, or stratum-3 NTP server.
Refer to this document for the details. Note that you can only do this for SIP phones. SCCP phones will still get their time from their call manager.
QoS Marking Recommendations for NTP
- Layer 2 LAN CoS: 2
- Layer 3 IP Precedence: 2
- Layer 3 DSCP: 16
- Layer 3 PHB: CS2
Configuring IOS Devices to use NTP
You will want to synchronize your routing and switching devices to a valid NTP source as well for the same reasons discussed above. This is fairly simple on IOS devices as shown below.
ntp server 10.1.1.1
Reference Cisco IOS Fundamentals for some information on how to make your IOS device an NTP server (so you can point other devices to it for synchronization).
NTP Troubleshooting Tips
From the CUCM CLI
- utils ntp status
- utils ntp config
- utils network capture port 123
Key Concepts For Review
- Linux-based call managers cannot synchronize with SNTP (Windows Servers)
- Subscribers are automatically synchronized with the cluster's publisher upon installation
- Cisco recommends synchronizing Unified CM with a Cisco IOS or Linux-based NTP server
- If possible, apply the CS2 PHB (per hop behavior) to your NTP traffic within your QoS policy
- CUCM 7.x SRND, Network Infrastructure
- Cisco IP Telephony Clock Synchronization Best Practices
- Phone NTP Reference Configuration
- Wikipedia - Network Time Protocol
- Cisco IOS Fundamentals - Configuring NTP
- CUCM SRND 7.x, Full PDF
CCIE Voice Written Blueprint
The relevant section of the blueprint that includes this topic is shown below.
1.00 Infrastructure Protocols
1.04 Power over Ethernet
1.05 Voice and Data VLAN
1.06 Troubleshooting Infrastructure Protocols
Full Cisco CCIE Voice Written Blueprint