< Home

ntp-service manycast-server

Function

The ntp-service manycast-server command configures the manycast server mode.

The undo ntp-service manycast-server command cancels configuring the NTP manycast server mode.

By default, the manycast server service is not configured.

Format

ntp-service manycast-server [ ip-address | ipv6 [ ipv6-address ] ]

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

Parameters

Parameter Description Value

ip-address

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

By default, it is 10.0.1.1.

ipv6 ipv6-address

Specifies the manycast IPv6 address.

By default, it is FF0E::0101.

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Loopback interface view

Default Level

2: Configuration level

Usage Guidelines

The manycast server responds to manycast client packets. Based on the response, manycast client creates ephemeral association and work in client server mode.

If you configure manycast server on the current interface, it is ready to receive NTP manycast messages and the local device runs in the server mode.

If you execute undo ntp-service manycast-server command and multicast IP address is not specified then local device searches for default IP addresses. The multicast server with default IP address is 10.0.1.1 in IPv4 network and FFOE::101 in IPv6 address. If the local device finds the default IP address, this command cancels the manycast server configuration, else it does not perform any action.

Example

# Configure GE0/0/0 to receive NTP manycast messages. The multicast address of the manycast packet is 10.0.1.1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ntp-service manycast-server 10.0.1.1

# Configure GE0/0/0 to receive NTP manycast messages. The multicast address of the manycast IPv6 packet is FF0E::111.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ntp-service manycast-server ipv6 FF0E::111

# Configure multiple servers to the same interface. (The interface is capable to respond for the manycast client requests come from different multicast addresses.)

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0]  ntp-service manycast-server 10.1.1.4
[sysname-GigabitEthernet0/0/0]  ntp-service manycast-server 10.1.1.5

# To confirm the configuration.

[sysname-GigabitEthernet0/0/0]  display this
#
interface GigabitEthernet 0/0/0
 undo shutdown
 ip address 192.168.100.1 255.255.255.0
 ntp-service manycast-server 10.1.1.4
 ntp-service manycast-server 10.1.1.5
#
return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >