display ntp-service trace
Syntax
display ntp-service trace
View
Any view
Parameter
None
Description
Use the display ntp-service trace command to display the brief information of each NTP time server
along the time synchronization chain from the local switch to the reference clock source.
Example
# View the brief information of each NTP time server along the time synchronization chain from the local
switch to the reference clock source.
<Sysname> display ntp-service trace
server 127.0.0.1,stratum 3, offset 0.018739, synch distance 0.04724
server 172.1.2.3,stratum 2, offset 0.030714, synch distance 0.01094
refid LOCL
The above information displays the time synchronization chain of server 127.0.0.1: server 172.0.0.1 is
synchronized to server 172.1.2.3, and server 172.1.2.3 is synchronized to the local clock source.
Table 1-3 display ntp-service trace command output description
server
stratum
offset
synch distance
refid
ntp-service access
Syntax
ntp-service access { peer | server | synchronization | query } acl-number
undo ntp-service access { peer | server | synchronization | query }
Field
IP address of the NTP server
The stratum level of the corresponding system
clock
The clock offset relative to the upper-level clock,
in milliseconds.
The synchronization distance relative to the
upper-level clock, in seconds
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.
1-4
Description