server (NTP)
Configures the device in client mode and specifies the NTP servers to synchronize
the system clock.
Syntax
server
{
ipv4-address
|
ipv6-address
}
[
maxpoll
interval
]
[
minpoll
interval
]
[
version
version-number
]
[
key
key-id
]
[
burst
]
no server
{
ipv4-address
|
ipv6-address
}
[
maxpoll
interval
]
[
minpoll
interval
]
[
version
version-number
]
[
key
key-id
]
[
burst
]
Parameters
- version version-number
- Specifies the Network Time Protocol (NTP) version number. Valid values are 3 and 4. The default value is 4.
- 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).
- 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).
Modes
NTP configuration mode
Usage Guidelines
A maximum of eight NTP servers can be configured.
The
no form of the command removes the NTP server configuration.