109
specified passive peer address is a link local address, the IPv6 NTP messages are sent from the
specified source 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 passive peer for the device, the device and its IPv6 passive peer can be
synchronized to each other. If their clocks are in synchronized state, the clock with a high stratum
level is synchronized to the clock with a lower stratum level.
To synchronize the PE to a PE or CE in a VPN, provide 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 ipv6
unicast-peer
command, the command removes the symmetric-passive peer with the IPv6 address
of
ipv6-address
in the specified VPN. If you do not include the
vpn-instance
vpn-instance-name
option in the command, the command removes the symmetric-passive peer with the IPv6 address of
ipv6-address
in the public network.
Examples
# Specify the device with the IPv6 address of 2001::1 as the symmetric-passive peer of the device,
and specify the source interface for IPv6 NTP messages as VLAN-interface 1.
<Sysname> system-view
[Sysname] ntp-service ipv6 unicast-peer 2001::1 source vlan-interface 1
Related commands
ntp-service authentication enable
ntp-service authentication-keyid
ntp-service reliable authentication-keyid
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
mdc-admin
Parameters
server-name
: Specifies the host name of the NTP server, a case-insensitive string of 1 to 253
characters.