R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

128
Description
Use display ntp-service trace to display the brief information about each NTP server along the NTP
server chain from the local device back to the primary reference source.
The display ntp-service trace command takes effect only when the local device and all the devices on the
NTP server chain can reach one another. Otherwise, this command is unable to display all the NTP
servers on the NTP chain due to timeout.
Examples
# Display the brief information about each NTP server from the local device back to the primary
reference source.
<Sysname> display ntp-service trace
server 127.0.0.1,stratum 2, offset -0.013500, synch distance 0.03154
server 133.1.1.1,stratum 1, offset -0.506500, synch distance 0.03429
refid LOCL
The output shows an NTP server chain for server 127.0.0.1: Server 127.0.0.1 is synchronized to server
133.1.1.1, a n d s e r ve r 133 .1.1.1 i s sy n c h ro n ize d t o t h e l o c a l c l o c k s o u rc e .
Table 30 Command output
Field Descri
p
tion
server IP address of the NTP server
stratum Stratum level of the corresponding system clock
offset Clock offset relative to the upper-level clock, in seconds
synch distance
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, such as alarm information, authentication status, and
clock source information.