< Home

ntp-service manycast-client

Function

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

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

By default, the manycast client service is disabled.

Format

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

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

Parameters

Parameter Description Value
ip-address Specifies the manycast IPv4 address, which is a Class D address. By default, it is 224.0.1.1.
ipv6 ipv6-address Specifies the manycast IPv6 address. By default, it is FF0E::0101.
authentication-keyid key-id Specifies the authentication key ID number used while sending messages to the manycast clients. The value is in the range of 1 to 65535.
autokey Specifies the autokey is enabled. -
ttl ttl-number Specifies the life span of the manycast packet. The value is in the range of 1 to 255.
port port-number Specifies the port number to transmit NTP manycast message. The value is in the range of 1025 to 65535.

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

This command specifies an interface on the local device to send NTP manycast messages. The local device runs in manycast client mode and periodically sends manycast messages to the manycast server. Based on the message received from manycast server, the dynamic client-server association is established.

While configuring manycast client, if the specified address is not mentioned, then the default multicast address 224.0.1.1. is used.

Example

# Configure GigabitEthernet0/0/0 transmit NTP manycast message with port 5000.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ntp-service manycast-client port 5000

# Configure GE0/0/0 to send NTP multicast messages. The multicast address is 224.0.1.2.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ntp-service manycast-client 224.0.1.2 authentication-keyid 6

# Configure GE0/0/0 to send NTP multicast messages. The multicast IPv6 address is FF0E::111.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ntp-service manycast-client ipv6 FF0E::111 authentication-keyid 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >