< 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 mode.

By default, the NTP manycast client mode is disabled.

Format

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

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

Parameters

Parameter Description Value
ip-address

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

The default IPv4 address is 224.0.1.1.
ipv6 [ ipv6-address ]

Specifies a manycast IPv6 address.

The default IPv6 address is FF0E::0101.
authentication-keyid key-id

Specifies the ID of the authentication key used for sending packets to a manycast server.

The value is an integer that ranges from 1 to 65535.
ttl ttl-number

Specifies the TTL value of a manycast packet.

The value is an integer ranges from 1 to 255.
port port-number Specifies the port number to transmit NTP manycast message. The value is 123 or an integer ranging from 1025 to 65535. The default value is 123.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The local device runs in the manycast client mode, and periodically sends manycast packets to manycast servers. After the local device receives the reply packet sent by a manycast server, the local device establishes dynamic C/S association with the server.

In the configuration of the manycast client, if the server address is not specified, 224.0.1.1 or FF0E::0101 is adopted as the server address by default.

Example

# Configure VLANIF100 to receive NTP manycast packets.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ip address 10.1.1.1 24
[HUAWEI-Vlanif100] ntp-service manycast-client 

# Configure GigabitEthernet0/0/1 to receive NTP manycast packets.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ntp-service manycast-client
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >