Usage Scenario
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.
# Display the status of the NTP service.
<sysname> 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 2005 (C6179088.426490A3)
synchronization state: spike (clock will be set in 1010 secs)
Item |
Description |
|---|---|
clock status |
Clock status:
|
clock stratum |
NTP clock stratum of the local 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, it is stratum becomes session stratum + 1. |
reference clock ID |
ID of the reference clock:
|
nominal frequency |
Nominal frequency of the local clock, in Hz. |
actual frequency |
Actual frequency of the local clock, in Hz. |
clock precision |
Precision of the local clock. |
clock offset |
Offset between the local clock and the NTP server, in ms. |
root delay |
Delay between the local clock and the master reference clock, in ms. |
root dispersion |
Dispersion between the local clock and the master reference clock, in ms. |
peer dispersion |
Dispersion between the local clock and the peer clock, in ms. |
reference time |
Reference timestamp. |
synchronization state |
Synchronization status of the local clock:
|