NTP configuration commands
display ntp-service sessions
Use display ntp-service sessions to display information about all NTP sessions.
Syntax
display ntp-service sessions [ verbose ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
verbose: Displays detailed information about all NTP sessions. If you do not specify this keyword, the
command displays only brief information about all NTP sessions.
|: 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 brief information about all NTP sessions.
<Sysname> display ntp-service sessions
source
********************************************************************************
[12345]127.127.1.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations :
Table 11 Command output
Field
source
reference
reference
stra reach poll
127.127.1.0
1
Description
IP address of the clock source.
Reference clock ID of the clock source.
•
If the reference clock is the local clock, the value of this field is related to the
value of the stra field:
When the value of the stra field is 0 or 1, this field will be LOCL.
When the stra field has another value, this field will be the IP address of
the local clock.
•
If the reference clock is the clock of another device on the network, the value
of this field will be the IP address of that device.
69
now offset
3
1
64
33
delay disper
0.0
0.0
0.0