118
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 thevpn-instance vpn-instance-nameoption
in the command.
If you include thevpn-instance vpn-instance-nameoption in the undo ntp-serviceipv6
unicast-peercommand, the command removes the symmetric-passive peer with the IPv6 address
of ipv6-address in the specified VPN. If you do not include thevpn-instance
vpn-instance-nameoption in the command, the command removes the symmetric-passive peer with
the IPv6 address of ipv6-address in the public network.
If the specified IPv6 address of the passive peer is a link local address, you must specify the source
interface for NTP messages and cannot specify a VPN for the passive peer.
Examples
# Specify the device with the IPv6 address of 2001::1 as the symmetric-passive peer of the local
device, and specify the source interface forIPv6 NTP messages as GigabitEthernet1/0/1.
<Sysname> system-view
[Sysname] ntp-service ipv6 unicast-peer 2001::1 source gigabitethernet 1/0/1
Related commands
ntp-service authentication enable
ntp-service authentication-keyid
ntp-service reliable authentication-keyid
ntp-service ipv6 unicast-server
Use ntp-serviceipv6unicast-serverto specify an IPv6 NTP server for the device.
Use undo ntp-serviceipv6unicast-serverto remove an IPv6 NTP server specified for the device.
Syntax
ntp-service ipv6 unicast-server { server-name | ipv6-address} [vpn-instancevpn-instance-name ]
[authentication-keyidkeyid|priority| source interface-type interface-number] *
undontp-service ipv6unicast-server { server-name| ipv6-address } [vpn-instance
vpn-instance-name ]
Default
No IPv6 NTP server is specified.
Views
System view