97
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 aboutall IPv4 NTP associations. If you do not specify this
keyword, the command displays only brief information aboutthe NTP associations.
Usage guidelines
When a device is operatingin 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. However,the associationsare counted in the total number of
associations.
Examples
# Displaybrief information aboutall 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 15 Command output
Field Description
source
•
When the reference clock is the local clock, the field displays
LOCAL
(
number
). It 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.