Configuration Examples For Implementing Ntp - Cisco NCS 5000 Series Manual

System management configuration guide for cisco ncs 5000 series routers
Hide thumbs Also See for NCS 5000 Series:
Table of Contents

Advertisement

Configuration Examples for Implementing NTP

Configuration Examples for Implementing NTP
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 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 tengige 0/2/0/0
broadcastdelay 2
The following example shows an NTP server configuration where interface 0/2/0/2 is configured to be a
broadcast server:
ntp
interface tengige 0/2/0/2
Configuring Multicast-Based Associations: Example
The following example shows an NTP multicast client configuration where 10-Gigabit Ethernet interface
0/1/1/0 is configured to be a multicast client and to join the default multicast group (IPv4 address 224.0.1.1):
ntp interface TenGigE 0/1/1/0
multicast client
The following example shows an NTP multicast server configuration where 10-Gigabit Ethernet interface
0/1/1/0 is configured to be a multicast server:
ntp interface TenGigE 0/1/1/0
multicast destination 224.0.1.1
Configuring NTP Access Groups: Example
The following example shows a NTP access group configuration where the following access group restrictions
are applied:
• Peer restrictions are applied to IP addresses that pass the criteria of the access list named peer-acl.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
164
broadcast client
exit
broadcast
Implementing NTP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents