34
ntp-service ipv6 unicast-server
Use
ntp-service
ipv6
unicast-server
to specify an IPv6 NTP server for the device.
Use
undo ntp-service
ipv6
unicast-server
to remove an IPv6 NTP server specified for the device.
Syntax
ntp-service ipv6 unicast-server
{
server-name
|
ipv6-address
} [
vpn-instance
vpn-instance-name
] [
authentication-keyid
keyid
|
priority
|
source interface-type
interface-number
] *
undo ntp-service ipv6 unicast-server
{
server-name
|
ipv6-address
} [
vpn-instance
vpn-instance-name
]
Default
No IPv6 NTP server is specified for the device.
Views
System view
Predefined user roles
network-admin
Parameters
server-name
: Specifies the host name of the NTP server, a case-insensitive string of 1 to 253
characters.
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.