peer
Configures the software clock to synchronize a peer or to be synchronized by a peer.
Syntax
peer
{
ipv4-address
|
ipv6-address
}
[
key
key-id
]
[
maxpoll
interval
]
[
minpoll
interval
]
[
version
version-number
]
[
burst
]
no peer
{
ipv4-address
|
ipv6-address
}
[
key
key-id
]
[
maxpoll
interval
]
[
minpoll
interval
]
[
version
version-number
]
[
burst
]
Command Default
A peer is not configured.
Parameters
- key key-id
- Specifies the authentication key. The value can range from 1 through 65535. By default, no authentication key is configured.
- maxpoll interval
- Specifies the longest polling interval. The range is from 4 through 17. The default is 10. The interval argument is a power of 2 (4=16, 5=32, 6=64, 7=128, 8=256, 9=512, and so on).
- minpoll interval
- Specifies the shortest polling interval. The range is from 4 through 17. The default is 6. The interval argument is a power of 2 (4=16, 5=32, 6=64, 7=128, 8=256, 9=512, and so on).
- version version-number
- Specifies the Network Time Protocol (NTP) version number. Valid values are 3 and 4. The default value is 4.
Modes
NTP configuration mode
Usage Guidelines
NTP peer mode is intended for configurations where a group of devices operate as mutual backups for each other. If one of the devices loses a reference source, the time values flow from the surviving peers to all the others.
A maximum of eight NTP peers can be configured.
Note: If the peer is a member of a symmetric passive association, configuring the
peer command will fail.
The
no form of the command disables the software clock to synchronize a peer.