< Home

display ntp-service status

Function

The display ntp-service status command displays the status of NTP.

Format

display ntp-service status

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To monitor or locate faults on the NTP service, run the display ntp-service status command to obtain status information about the NTP service, such as the synchronization status of the local clock and the stratum of the clock.

Example

# Display the status of the NTP service.

<HUAWEI> display ntp-service status
clock status: synchronized
clock stratum: 2
reference clock ID: LOCAL(0)
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 0.00 ms
peer dispersion: 10.00 ms
reference time: 15:51:36.259 UTC Apr 25 2012(C6179088.426490A3)
synchronization state: spike (clock will be set in 1010 secs)
Table 1 Description of the display ntp-service status command output

Item

Description

clock status

Indicates the clock status.
  • synchronized: indicates that the local clock has been synchronized with an NTP server or the reference clock.

  • unsynchronized: indicates that the local clock has not been synchronized with any NTP server.

clock stratum

Indicates the stratum of the reference clock. The value ranges from 1 to 15. A lower the clock stratum indicates higher clock precision. When the client gets synchronized to a session, its stratum is the session stratum plus 1.

reference clock ID

Indicates ID of the reference clock.
  • When the local clock has been synchronized with the remote NTP server, ID of the reference clock shows IP address of the remote server.

  • When the local clock has been synchronized with the reference clock, it shows ID of the reference clock.

  • If the local clock is the reference clock, it shows "Local".

nominal frequency

Indicates the nominal frequency of the local clock, in Hz.

actual frequency

Indicates the actual frequency of the local clock, in Hz.

clock precision

Indicates the precision of the local clock.

clock offset

Indicates the offset between the local clock and the NTP server, in ms.

root delay

Indicates the delay between the local clock and the master reference clock, in ms.

root dispersion

Indicates the dispersion between the local clock and the master reference clock, in ms.

peer dispersion

Indicates the dispersion between the local clock and the peer clock, in ms.

reference time

Indicates reference timestamp.

synchronization state

Indicates the synchronization status of the local clock:
  • clock not set: Indicates the clock is not updated.
  • frequency set by configuration: Indicates the clock frequency is set by NTP configuration.
  • clock set: Indicates the clock is set.
  • clock set but frequency not determined: Indicates the clock is set but the frequency is not determined.
  • clock synchronized: Indicates that the clock is synchronized.
  • spike (clock will be set in XXX secs): Indicates a time difference of more than 128 milliseconds is detected between NTP server and client clock. The clock change will take effect in XXX seconds.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >