
19
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display ntp-service status
command to view the NTP service status information.
Examples
# View the NTP service status information.
<Sysname> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^17
Clock offset: 0.0000 ms
Root delay: 0.00 ms
Root dispersion: 0.00 ms
Peer dispersion: 0.00 ms
Reference time: 00:00:00.000 UTC Jan 1 1900(00000000.00000000)
Table 5
Output description
Field Description
Clock status
Status of the system clock, which can be one of the following:
•
Synchronized: The system clock has been synchronized.
•
Unsynchronized: The system clock has not been synchronized.
Clock stratum
Stratum level of the system clock
Reference clock ID
When the system clock is synchronized to a remote time server,
this field indicates the address of the remote time server. When
the system clock is synchronized to a local reference source, this
field indicates the address of the local clock source:
•
When the local clock has a stratum level of 1, the value of this
field is “LOCL”;
•
When the stratum of the local clock has another value, the
value of this field is the IP address of the local clock.
Nominal frequency
The nominal frequency of the local system hardware clock, in Hz
Actual frequency
The actual frequency of the local system hardware clock, in Hz
Clock precision
The precision of the system clock
Clock offset
The offset of the system clock relative to the reference source, in
milliseconds
Root delay
The roundtrip delay from the local device to the primary
reference source, in milliseconds
Root dispersion
The maximum error of the system clock relative to the primary
reference source, in milliseconds
Peer dispersion
The maximum error of the system clock relative to the reference
source, in milliseconds