104
Predefined user roles
network-admin
network-operator
Examples
#Displaybrief information about each NTP server from the local device back to the primary time
server.
<Sysname>display ntp-service trace
Server 127.0.0.1
Stratum 3, jitter 0.000, synch distance 0.0000.
Server 3000::32
Stratum 2 , jitter 790.00, synch distance 0.0000.
RefID 127.127.1.0
The output shows that server 127.0.0.1 is synchronized to server 3000::32, and server 3000::32 is
synchronized to the local clock.
Table 18 Command output
Field Description
Server
IP address of the NTP server.
Stratum
Stratum level of the NTP server.
jitter
Root mean square (RMS) value of theclock offset relative to the upper-level clock,
in seconds.
synch distance
Synchronization distance relative to the upper-level NTP server, in seconds,
calculated from dispersion and roundtrip delay values.
RefID
Identifier of the primary time server. 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 acl
Use
ntp-service acl
to configure the access-control right for peer devices to access NTP services of
the local device.
Use
undo ntp-service acl
to remove the configured NTP service access-control right.
Syntax
ntp-service
{
peer
|
query
|
server
|
synchronization
}
aclacl-number
undo ntp-service
{
peer
|
query
|
server
|
synchronization
}
aclacl-number
Default
The access-control right for the peer devices to access the NTP services of the local device is
peer
.
Views
System view