To configure a peer-to-peer association between the router and another device, you must also configure
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.
Note
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:
•
end
•
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Enters NTP configuration mode.
ntp
Example:
RP/0/RP0/CPU0:router(config)# ntp
Step 2
Forms a server association with another system. This step can be
repeated as necessary to form associations with multiple devices.
server ip-address
[
version number
] [
key key-id
]
[
minpoll interval
] [
maxpoll interval
] [
source type
interface-path-id
] [
prefer
] [
burst
] [
iburst
]
Step 3
Example:
RP/0/RP0/CPU0:router(config-ntp)# server
172.16.22.44
minpoll 8 maxpoll 12
Forms a peer association with another system. This step can be
repeated as necessary to form associations with multiple systems.
peer ip-address
[
version number
] [
key key-id
]
[
minpoll interval
] [
maxpoll interval
] [
source type
interface-path-id
] [
prefer
]
Step 4
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
148
Implementing NTP
Configuring Poll-Based Associations