
21
Field Description
synch distance
The synchronization distance relative to the upper-level clock, in
seconds, and calculated from dispersion and roundtrip delay
values.
refid
Identifier of the primary reference source. When the stratum level of
the primary reference clock is 0, it is displayed as “LOCL”.
Otherwise, it is displayed as the IP address of the primary reference
clock.
ntp-service access
Syntax
ntp-service access
{
peer
|
query
|
server
|
synchronization
}
acl-number
undo ntp-service access
{
peer
|
query
|
server
|
synchronization
}
View
System view
Default level
3: Manage level
Parameters
peer
: Permits full access. This level of right permits the peer devices to perform synchronization and
control query to the local device and also permits the local device to synchronize its clock to that of a peer
device. Control query refers to query of NTP status information, such as alarm information, authentication
status, and clock source information.
query
: Permits control query. This level of right permits the peer devices to perform control query to the
NTP service on the local device but does not permit a peer device to synchronize its clock to that of the
local device.
server
: Permits server access and query. This level of right permits the peer devices to perform
synchronization and control query to the local device but does not permit the local device to synchronize
its clock to that of a peer device.
synchronization
: Permits server access only. This level of right permits a peer device to synchronize its
clock to that of the local device but does not permit the peer devices to perform control query.
acl-number
: Basic ACL number, which ranges from 2000 to 2999.
Description
Use the
ntp-service access
command to configure the access-control right for the peer devices to access
the NTP services of the local device.
Use the
undo ntp-service access
command to remove the configured NTP service access-control right to
the local device.
By default, the access-control right for the peer devices to access the NTP services of the local device is
set to
peer
.
From the highest NTP service access-control right to the lowest one are
peer
,
server
,
synchronization
,
and
query
. When a device receives an NTP request, it matches against the access-control right in this
order and uses the first matched right.