R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
104
Syntax
ntp-service ipv6 source interface-type interface-number
undo ntp-service ipv6 source
Default
No source interface is specified for IPv6 NTP messages. The device automatically selects the source IP
address for IPv6 NTP messages. For more information, see RFC 3484.
Views
System view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you specify the source interface for IPv6 NTP messages, the device sets the source IP address of the IPv6
NTP messages as the primary IP address of the specified interface when sending the IPv6 NTP messages.
When the device responds to an IPv6 NTP request, the source IPv6 address of the NTP response is
always the IPv6 address of the interface that has received the IPv6 NTP request. If you do not want the
IPv6 address of a certain interface on the local device to become the destination address for response
messages, use this command.
• If you have specified the source interface for IPv6 NTP messages in the ntp-service ipv6
unicast-server or ntp-service ipv5 unicast-peer command, the interface specified in the ntp-service
ipv6 unicast-server or ntp-service ipv6 unicast-peer command serves as the source interface for
IPv6 NTP messages. If you have configured the ntp-service ipv6 broadcast-server or ntp-service
ipv6 multicast-server command, the source interface for the broadcast or multicast NTP messages
is the interface configured with the respective command.
• If the specified source interface is down, the device automatically selects the source IPv6 address.
For more information, see RFC 3484.
Examples
# Specify the source interface of IPv6 NTP messages as GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] ntp-service ipv6 source gigabitethernet 2/1/1
ntp-service ipv6 unicast-peer
Use ntp-service ipv6 unicast-peer to specify an IPv6 symmetric-passive peer for the device.
Use undo ntp-service ipv6 unicast-peer to remove the IPv6 symmetric-passive peer specified for the
device.
Syntax
ntp-service ipv6 unicast-peer { peer-name | ipv6-address } [ vpn-instance vpn-instance-name ]
[ authentication-keyid keyid | priority | source interface-type interface-number ] *
undo ntp-service ipv6 unicast-peer { peer-name | ipv6-address } [ vpn-instance vpn-instance-name ]