103
[Sysname-GigabitEthernet1/0/1] ntp-service ipv6 multicast-server ff21::1
Related commands
ntp-service ipv6 multicast-client
ntp-service ipv6 source
Use ntp-service ipv6 source to specify a source interface for IPv6 NTP messages.
Use undo ntp-service ipv6 source to restore the default.
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 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 becomes 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 this 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 GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] ntp-service ipv6 source gigabitethernet 1/0/1