ntp-service manycast-client

Function

The ntp-service manycast-client command enables the NTP manycast client mode.

The undo ntp-service manycast-client command disables the NTP manycast client configuration.

By default, the manycast client service is disabled.

Format

ntp-service manycast-client [ ip-address ] [ authentication-keyid key-id | ttl ttl-number | port port-number ] *

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

Parameters

Parameter Description Value
ip-address

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

The value is in dotted decimal notation. The default value is 224.0.1.1.

authentication-keyid key-id

Specifies an authentication key ID number carried in messages to be sent to multicast clients.

The value is an integer ranging 1 to 65535.

ttl ttl-number

Specifies the life span of the manycast packet.

The value is an integer ranging from 1 to 255.

port port-number

Sets the port number to be used as the destination port in NTP manycast packets.

The number is an integer that can be 123, or ranges from 1025 to 65535. The default value is 123.

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

An interface can be specified on the local device and used to send NTP manycast messages after a timeout period elapses. The local device runs in manycast client mode and periodically sends manycast messages to a manycast server. Based on the message sent by the manycast server, a dynamic client-server association is established.

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.2.
<HUAWEI> system-view[~HUAWEI] interface 10GE 0/1/0
[~HUAWEI-10GE0/1/0] ntp-service manycast-client 224.0.1.2
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >