113
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you specify a source interface for IPv6 NTP messages, the device uses the IPv6 address of the
source interface as the source address to send IPv6 NTP messages. Consequently, the destination
address of the IPv6 NTP response messages is the address of the source interface.
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 an interface on the local device to become the destination
address for response messages, use the command to specify another interface as the source
interface for IPv6 NTP messages.
The source interface for IPv6 NTP messages can also be specified in the following ways:
• In NTP client/server mode, if you have specified the source interface for IPv6 NTP messages in
the ntp-service ipv6 unicast-server command, the specified interface acts as the source
interface for IPv6 NTP messages.
• In NTP symmetric active/passive mode, if you have specified the source interface for IPv6 NTP
messages in the ntp-service ipv6 unicast-peer command, the specified interface acts as the
source interface for IPv6 NTP messages.
• In NTP multicast mode, if you have configured the ntp-service ipv6 multicast-server
command on an interface, the interface acts as the source interface for NTP multicast
messages.
If the specified source interface is down, the device does not send IPv6 NTP messages.
Examples
# Specify the source interface of IPv6 NTP messages as VLAN-interface 1.
<Sysname> system-view
[Sysname] ntp-service ipv6 source vlan-interface 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 } [ authentication-keyid keyid | priority
| source interface-type interface-number ] *
undo ntp-service ipv6 unicast-peer { peer-name | ipv6-address }
Default
No IPv6 symmetric-passive peer is specified.
Views
System view
Predefined user roles
network-admin
Parameters
peer-name: Specifies a symmetric-passive peer by its host name, a case-insensitive string of 1 to
253 characters.