Field
filter disper
reference clock status
timecode
Total associations
NOTE:
When a device is operating in NTP broadcast/multicast server mode, using the display ntp-service
sessions command on the device does not display the NTP session information corresponding to the
broadcast/multicast server, but the sessions are counted in the total number of associations.
display ntp-service status
Use display ntp-service status to view NTP service status information.
Syntax
display ntp-service status [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
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.
Examples
# Display 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
Description
Dispersion information.
Status of the reference clock:
•
working normally.
•
working abnormally.
Time code.
Total number of associations.
73