11
NTP commands
The term "interface" in this chapter collectively refers to Layer 3 interfaces, including VLAN
interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by
using the
port link-mode route
command (see
Layer 2—LAN Switching Configuration Guide
).
display ntp-service ipv6 sessions
Use
display ntp-service ipv6 sessions
to display information about all IPv6 NTP associations.
Syntax
display ntp-service ipv6 sessions
[
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
verbose
: Displays detailed information about all IPv6 NTP associations. If you do not specify this
keyword, the command displays only brief information about the IPv6 NTP associations.
Examples
# Display brief information about all IPv6 NTP associations.
<Sysname> display ntp-service ipv6 sessions
Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured.
Source: [125]3000::32
Reference: 127.127.1.0 Clock stratum: 2
Reachabilities: 1 Poll interval: 64
Last receive time: 6 Offset: -0.0
Roundtrip delay: 0.0 Dispersion: 0.0
Total sessions: 1
Table 4 Command output
Field Description
[12345]
•
1
—Clock source selected by the system (the current reference
source). It has a system clock stratum level less than or equal to 15.
•
2
—The stratum level of the clock source is less than or equal to 15.
•
3
—The clock source has survived the clock selection algorithm.
•
4
—The clock source is a candidate clock source.
•
5
—The clock source was created by a command.
Source
IPv6 address of the NTP server. If this field displays
::
, the IPv6 address of
the NTP server has not been resolved successfully.