127
sntp ipv6 unicast-server
Use sntp ipv6 unicast-server to specify an IPv6 NTP server for the device.
Use undo sntp ipv6 unicast-server to remove the IPv6 NTP server specified for the device.
Syntax
sntp ipv6 unicast-server { server-name | ipv6-address } [ authentication-keyid keyid | source
interface-type interface-number ] *
undo sntp ipv6 unicast-server { server-name | ipv6-address }
Default
No IPv6 NTP server is specified.
Views
System view
Predefined user roles
network-admin
Parameters
server-name: Specifies an NTP server by its host name, a case-insensitive string of 1 to 253
characters.
ipv6-address: Specifies an NTP server by its IPv6 address.
authentication-keyid keyid: Specifies the key ID to be used for sending NTP messages to the NTP
server. The value range for the keyid argument is 1 to 4294967295. If you do not specify this option,
the local device and NTP server do not authenticate each other.
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 NTP server,
but the NTP server is not synchronized to the device.
Examples
# Specify the IPv6 NTP server 2001::1 for the device.
<Sysname> system-view
[Sysname] sntp ipv6 unicast-server 2001::1
Related commands
sntp authentication enable
sntp authentication-keyid
sntp reliable authentication-keyid
sntp reliable authentication-keyid
Use sntp reliable authentication-keyid to specify a trusted key.