Command Manual (For Soliton) – NTP
H3C S3100 Series Ethernet Switches
Chapter 1 NTP Configuration Commands
1-5
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
Field
Description
server
IP address of the NTP server
stratum
The stratum level of the corresponding system clock
offset
The clock offset relative to the upper-level clock, in milliseconds.
synch distance
The synchronization distance relative to the upper-level clock, in
seconds
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.
1.1.4 ntp-service access
Syntax
ntp-service access
{
peer
|
server
|
synchronization
|
query
}
acl-number
undo ntp-service access
{
peer
|
server
|
synchronization
|
query
}
View
System view
Parameter
query
: Control query right. This level of right permits the peer device to perform control
query to the NTP service on the local device but does not permit the peer device to
synchronize its clock to the local device. The so-called “control query” refers to query of
state of the NTP service, including alarm information, authentication status, clock
source information, and so on.