Cisco Systems SMC-169 manual Configuring Poll-Based Associations Example, SMC-188

Page 20

Implementing NTP on Cisco IOS XR Software

Configuration Examples for Implementing NTP on Cisco IOS XR Software

Configuration Examples for Implementing NTP on Cisco IOS XR Software

This section contains the following examples:

Configuring Poll-Based Associations: Example, page SMC-188

Configuring Broadcast-Based Associations: Example, page SMC-188

Configuring NTP Access Groups: Example, page SMC-188

Configuring NTP Authentication: Example, page SMC-189

Disabling NTP on an Interface: Example, page SMC-190

Configuring the Source IP Address for NTP Packets: Example, page SMC-190

Configuring the System as an Authoritative NTP Server: Example, page SMC-190

Updating the Hardware Clock: Example, page SMC-191

Configuring Poll-Based Associations: Example

The following example shows an NTP configuration in which the router’s system clock is configured to form a peer association with the time server host at IP address 192.168.22.33, and to allow the system clock to be synchronized by time server hosts at IP address 10.0.2.1 and 172.19.69.1:

!

ntp

server 10.0.2.1 minpoll 5 maxpoll 7 peer 192.168.22.33

server 172.19.69.1

!

Configuring Broadcast-Based Associations: Example

The following example shows an NTP client configuration in which Gigabit Ethernet interface 0/2/0/0 is configured to receive NTP broadcast packets, and the estimated round-trip delay between an NTP client and an NTP broadcast server is set to 2 microseconds:

ntp

interface GigabitEthernet0/2/0/0 broadcast client

!

broadcastdelay 2

The following example shows an NTP server configuration where Gigabit Ethernet interface 0/2/0/2 is configured to be a broadcast server:

ntp

interface GigabitEthernet0/2/0/2 broadcast

!

Cisco IOS XR System Management Configuration Guide

SMC-188

Image 20
Contents Implementing NTP on Cisco IOS XR Software NTP Functional Overview SMC-170SMC-171 Configuring Poll-Based AssociationsPoll-Based Associations Summary Steps SMC-172SMC-173 Configuring Broadcast-Based NTP AssociationsBroadcast-Based NTP Associations SMC-174 SMC-175 Configuring NTP Access GroupsNTP Access Groups SMC-176 SMC-177 SMC-178 Configuring NTP AuthenticationNTP Authentication Supported is md5 SMC-179Disabling NTP Services on a Specific Interface SMC-180SMC-181 Configuring the Source IP Address for NTP Packets SMC-182SMC-183 Configuring the System as an Authoritative NTP Server SMC-184Updating the Hardware Clock SMC-185SMC-186 SMC-187 Verifying the Status of the External Reference ClockExamples SMC-188 Configuring Poll-Based Associations ExampleConfiguring Broadcast-Based Associations Example SMC-189 Configuring NTP Access Groups ExampleConfiguring NTP Authentication Example SMC-190 Configuring the Source IP Address for NTP Packets ExampleDisabling NTP on an Interface Example Updating the Hardware Clock Example Related DocumentsStandards MIBsSMC-192 RFCsTechnical Assistance