To synchronize the clocks in the Cisco UMG system by specifying an NTP server, use the ntp server command in Cisco UMG configuration mode. To delete the Cisco UMG router IP address and the NTP server name, use the no form of this command.
ntp server {hostname | ip-address} [prefer]
no ntp server {hostname | ip-address}
Syntax Description
hostname
Hostname of the NTP server.
ip-address
IP address of the NTP server.
prefer
(Optional) Marks the server as preferred.
Command Default
IP address of Cisco UMG.
Command Modes
Cisco UMG configuration
Command History
Cisco UMG Version
Modification
1.0
This command was introduced.
Usage Guidelines
Use this command to set the timing functions for your Cisco UMG system.
The prefer option indicates that the specified server is chosen for synchronization from among a set of correctly operating hosts.
Caution The no ntp server command deletes the Cisco UMG router IP address and also the NTP server name. Use this command with caution because it can disrupt communication.
Examples
The following example assigns the server with address 192.168.10.0 as the NTP server:
umg-1# enable
umg-1# config t
umg-1(config)# ntp server 192.168.10.0 prefer
The following example assigns the server main_ntp as the NTP server: