110
ipv6-address
: Specifies the IPv6 address of the NTP server. It must be a unicast address, rather than
a multicast address.
vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN to which the NTP server belongs,
where
vpn-instance-name
is a case-sensitive string of 1 to 31 characters. If the NTP server is on the
public network, do not specify this option.
authentication-keyid
keyid
: Specifies the key ID to be used for sending NTP messages to the NTP
server, where
keyid
is in the range of 1 to 4294967295. If this option is not specified, the local device
and NTP server do not authenticate each other.
priority
: Specifies this NTP server as the first choice under the same condition.
source
interface-type interface-number
: Specifies the source interface for IPv6 NTP messages. If
the specified IPv6 NTP server address is not a link local address, the source IPv6 address for IPv6
NTP messages sent by the local device to the NTP server is the IPv6 address of the specified source
interface. If the specified IPv6 NTP server address is a link local address, the IPv6 NTP messages
are sent from the specified source interface, and the source address of the messages is the link local
address of the interface. The
interface-type interface-number
argument represents the interface type
and number. If you do not specify an interface, the device automatically selects the source IPv6
address of IPv6 NTP messages. For more information, see
RFC 3484
.
Usage guidelines
When you specify an IPv6 NTP server for the device, the device is synchronized to the IPv6 NTP
server, but the IPv6 NTP server is not synchronized to the device.
To synchronize the PE to a PE or CE in a VPN, specify the
vpn-instance
vpn-instance-name
option
in the command.
If you include the
vpn-instance
vpn-instance-name
option in the
undo ntp-service unicast-server
command, the command removes the NTP server with the IP address of
ip-address
in the specified
VPN. If you do not include the
vpn-instance
vpn-instance-name
option in the command, the
command removes the NTP server with the IP address of
ip-address
in the public network.
If the specified IPv6 address of the NTP server is a link local address, you must specify the source
interface for NTP messages and cannot specify a VPN for the NTP server.
Examples
# Specify the IPv6 NTP server 2001::1 for the device.
<Sysname> system-view
[Sysname] ntp-service ipv6 unicast-server 2001::1
Related commands
ntp-service authentication enable
ntp-service authentication-keyid
ntp-service reliable authentication-keyid
ntp-service max-dynamic-sessions
Use
ntp-service max-dynamic-sessions
to set the maximum number of dynamic NTP sessions
allowed to be established locally.
Use
undo ntp-service max-dynamic-sessions
to restore the default.
Syntax
ntp-service max-dynamic-sessions
number
undo ntp-service max-dynamic-sessions