Implementing NTP on Cisco IOS XR Software
How to Implement NTP on Cisco IOS XR Software
SMC-173
Cisco IOS XR System Management Configuration Guide
Configuring Broadcast-Based NTP Associations
This task explains how to configure broadcast-based NTP associations.
Note No specific command enables NTP; the first NTP configuration command that you issue enables NTP.
Broadcast-Based NTP Associations
Broadcast-based NTP associations should be used when time accuracy and reliability requirements are
modest and if your network is localized and has a large number of clients (more than 20).
Broadcast-based NTP associations also are recommended for use on networks that have limited
bandwidth, system memory, or CPU resources.
Step 3
server
ip-address
[version
number
][key
key-id
]
[minpoll
interval
] [maxpoll
interval
] [source
interface-type interface-instance
] [prefer]
Example:
RP/0/RP0/CPU0:router(config-ntp)# server
172.16.22.44 minpoll 8 maxpoll 12
Forms a server association with another system.
Step 4
peer
ip-address
[version
number
] [key
key-id
]
[minpoll
interval
] [maxpoll
interval
] [source
interface-type interface-instance
] [prefer]
Example:
RP/0/RP0/CPU0:router(config-ntp)# peer
192.168.22.33 minpoll 8 maxpoll 12 source pos
0/0/0/1
Forms a peer association with another system.
Step 5
end
or
commit
Example:
RP/0/RP0/CPU0:router(config)# end
or
RP/0/RP0/CPU0:router(config)# commit
Saves configuration changes.
• When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
–
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
• Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Command or Action Purpose