In client/server mode, the clock on the client synchronizes with the master clock on the 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 source interface for sending NTP packets is specified.
The NTP server IPv4 address is configured.
The NTP server IPv6 address is configured.
ip-address is the NTP server IP address. It can be a host address, but not the IP address of the reference clock. If a source interface to send NTP packets is specified on the server, the server IP address specified on the client must be this specified source interface address. Otherwise, the client cannot process NTP packets sent from the server and clock synchronization fails.
If step 2 is performed, and source-interface is configured in step 3, the source interface specified in step 3 is preferred.
When the unicast NTP server is specified, the local router functions as the client automatically. No additional configurations are required on the server except the NTP master clock.
The configuration is committed.