The ntp-service manycast-server command enables the manycast server mode configures on an interface of a local device to send NTP manycast packets.
The undo ntp-service manycast-server command disables the NTP manycast server mode.
By default, the manycast service is not configured.
Usage Scenario
A manycast server responds to manycast client packets. Based on the responses, a manycast client creates an ephemeral association and works in client server mode.
If you configure a manycast server on an interface, the interface can receive NTP manycast messages, and the local device runs in server mode.
If you execute the undo ntp-service manycast-server command and do not specify a multicast IP address, a local device searches for default IP addresses. The multicast server with default IP address is 224.0.1.1 on an IPv4 network and FFOE::101 on an IPv6 address. If the local device finds a default IP address, this command deletes the manycast server configuration, or it does not perform any action.
In VS mode, this command is supported only by the admin VS.
Precautions
If this command is the first NTP configuration command, the system automatically adds the ntp-service [ ipv6 ] server disable command in the configuration file to disable the NTP service. To enable the NTP service, run the undo ntp-service [ ipv6 ] server disable command. If this command is the last NTP configuration command to be deleted, the system automatically deletes the ntp-service [ ipv6 ] server disable command from the configuration file.
<HUAWEI> system-view [~HUAWEI] interface 10GE 0/1/0 [~HUAWEI-10GE0/1/0] ntp-service manycast-server 224.0.1.1
<HUAWEI> system-view [~HUAWEI] interface 10GE 0/1/0 [~HUAWEI-10GE0/1/0] ntp-service manycast-server 224.1.1.4 [*HUAWEI-10GE0/1/0] ntp-service manycast-server 224.1.1.5