ntp-service manycast-server

Function

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.

Format

ntp-service manycast-server [ ip-address ]

undo ntp-service manycast-server [ ip-address ]

Parameters

Parameter Description Value
ip-address

Specifies a manycast IPv4 address, which is a Class D address.

The default value is 224.0.1.1.

Views

Virtual template view, Tunnel interface view, 40GE interface view, 100GE interface view, GE electrical interface view, Loopback interface view, VLANIF interface view, 400GE interface view, 10GE interface view, GE optical interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ntp write

Usage Guidelines

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.

Example

# Configure 10GE 0/1/0 to receive NTP manycast messages with the multicast address of 224.0.1.1.
<HUAWEI> system-view
[~HUAWEI] interface 10GE 0/1/0
[~HUAWEI-10GE0/1/0] ntp-service manycast-server 224.0.1.1
# Configure multiple servers on the same interface. (The interface is capable to respond to manycast client requests sent by different multicast addresses.)
<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
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >