Configuring NTP server inside VRF interface
peer 10.32.154.145 key 2
Disabling NTP on an Interface: Example
The following example shows an NTP configuration in which 0/2/0/0 interface is disabled:
ntp
interface tengige 0/2/0/0
authentication-key 2 md5 encrypted 06120A2D40031D1008124
authentication-key 3 md5 encrypted 1311121E074110232621
authenticate
trusted-key 3
server 10.3.32.154 key 3
peer 10.32.154.145 key 2
Configuring the Source IP Address for NTP Packets: Example
The following example shows an NTP configuration in which Ethernet management interface 0/0/CPU0/0 is
configured as the source address for NTP packets:
ntp
authentication-key 2 md5 encrypted 06120A2D40031D1008124
authentication-key 3 md5 encrypted 1311121E074110232621
authenticate
trusted-key 3
server 10.3.32.154 key 3
peer 10.32.154.145 key 2
source MgmtEth0/0/CPU0/0
Configuring the System as an Authoritative NTP Server: Example
The following example shows a NTP configuration in which the router is configured to use its own NTP
master clock to synchronize with peers when an external NTP source becomes unavailable:
ntp
master 6
Updating the Hardware Clock: Example
The following example shows an NTP configuration in which the router is configured to update its hardware
clock from the software clock at periodic intervals:
ntp
server 10.3.32.154
update-calendar
Configuring NTP server inside VRF interface
This task explains how to configure NTP server inside VRF interface.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
166
disable
exit
Implementing NTP