The NTP manycast mode can be configured to synchronize clocks in a manycast domain.
Perform the following steps on the router functioning as an NTP manycast server:
The system view is displayed.
The NTP authentication key is set.
Using the HMAC-SHA256 algorithm for NTP authentication is recommended.
The system automatically verifies the strength of an entered key. Only the key that meets the strength requirements can be configured. To disable key strength check, run the ntp authentication-password complexity-check disable command.
Disabling the key strength check function causes security risks. Therefore, you are advised not to run this command.
The view of the interface sending NTP manycast messages is entered.
Run ntp-service manycast-server ip-address
The router is configured as an NTP manycast server on an IPv4 network.
Run ntp-service manycast-server ipv6 [ ipv6-address ]
The router is configured as an NTP manycast server on an IPv6 network.
Perform the following steps on the router functioning as an NTP manycast client:
The system view is displayed.
The NTP authentication key is set.
Using the HMAC-SHA256 algorithm for NTP authentication is recommended.
The system automatically verifies the strength of an entered key. Only the key that meets the strength requirements can be configured. To disable key strength check, run the ntp authentication-password complexity-check disable command.
Disabling the key strength check function causes security risks. Therefore, you are advised not to run this command.
The number of dynamic sessions allowed to be set up is set.
Running the ntp-service max-dynamic-sessions command does not affect the existing NTP sessions. When the number of sessions reaches the maximum number, no more sessions can be set up.
The interface to receive manycast NTP packets is specified.
ntp-service manycast-client ip-address [ [ authentication-keyid key-id ] | ttl ttl-number | port port-number ] *
The device is configured as an NTP manycast client on an IPv4 network.
ntp-service manycast-client ipv6 [ ipv6-address ][ [ authentication-keyid key-id ] | ttl ttl-number | port port-number ] *
The device is configured as an NTP manycast client on an IPv6 network.
The configuration is committed.
The NTP manycast client listens to the manycast NTP packets sent from the server and synchronizes the local clock.