Configuring Poll-Based Associations
To configure a peer-to-peer association between the router and another device, you must also configure
Note
the router as a peer on the other device.
You can configure multiple peers and servers, but you cannot configure a single IP address as both a peer
and a server at the same time.
To change the configuration of a specific IP address from peer to server or from server to peer, use the
no form of the peer or server command to remove the current configuration before you perform the
new configuration. If you do not remove the old configuration before performing the new configuration,
the new configuration does not overwrite the old configuration.
SUMMARY STEPS
1. configure
2. ntp
3. server ip-address [version number] [key key-id] [minpoll interval] [maxpoll interval] [source type
interface-path-id] [prefer] [burst] [iburst]
4. peer ip-address [version number] [key key-id] [minpoll interval] [maxpoll interval] [source type
interface-path-id] [prefer]
5. Use one of the following commands:
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
ntp
Example:
RP/0/RP0/CPU0:router(config)# ntp
Step 3
server ip-address [version number] [key key-id]
[minpoll interval] [maxpoll interval] [source type
interface-path-id] [prefer] [burst] [iburst]
Example:
RP/0/RP0/CPU0:router(config-ntp)# server
172.16.22.44
minpoll 8 maxpoll 12
Step 4
peer ip-address [version number] [key key-id]
[minpoll interval] [maxpoll interval] [source type
interface-path-id] [prefer]
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
148
• end
• commit
Purpose
Enters NTP configuration mode.
Forms a server association with another system. This step can be
repeated as necessary to form associations with multiple devices.
Forms a peer association with another system. This step can be
repeated as necessary to form associations with multiple systems.
Implementing NTP