15
Field Description
Filter order
Dispersion information.
Reference clock status
Status of the local clock. The field is displayed only when you use
the
ntp-service refclock-master
command to set the local clock
as a reference clock.
When the reach field of the local clock is 255, the field is displayed
as
working normally
. Otherwise, the field is displayed as
working abnormally
.
Total sessions
Total number of associations.
display ntp-service sessions
Use
display ntp-service sessions
to display information about all IPv4 NTP associations.
Syntax
display ntp-service sessions
[
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
verbose
: Displays detailed information about all IPv4 NTP associations. If you do not specify this
keyword, the command displays only brief information about the NTP associations.
Usage guidelines
When a device is operating in NTP broadcast or multicast server mode, the
display ntp-service
sessions
command does not display the IPv4 NTP association information corresponding to the
broadcast or multicast server, but the associations are counted in the total number of associations.
Examples
# Display brief information about all IPv4 NTP associations.
<Sysname> display ntp-service sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[12345]LOCAL(0) LOCL 0 1 64 - 0.0000 0.0000 7937.9
[5]0.0.0.0 INIT 16 0 64 - 0.0000 0.0000 0.0000
Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured.
Total sessions: 1
Table 6 Command output
Field Description
source
•
When the reference clock is the local clock, the field displays
LOCAL
(
number
), which indicates that the IP address of the local clock is
127.127.1.
number
, where
number
represents the NTP process
number in the range of 0 to 3.
•
When the reference clock is the clock of another device, the field
displays the IP address of the NTP server. If this field displays
0.0.0.0
,
the IP address of the NTP server has not been resolved successfully.