The ntp-service max-distance command configures the maximum distance threshold value.
The undo ntp-service max-distance command restores the default value.
By default, the maximum distance threshold value is 1.
Parameter | Description | Value |
---|---|---|
max-distance-value |
Indicates the maximum distance threshold value in seconds. |
The value is an integer and ranges from 1 to 16, in seconds. The default value is 1. |
ntp-service max-distance command is used at the client side. At the client side, NTP will calculate synchronization distance for each server and compare it with synchronization distance threshold value. If the synchronization distance exceeds synchronization distance threshold value, the client will not consider that server for clock synchronization. This command is used in the calculation of synchronization distance threshold value.