By configuring the authentication key ID used in the synchronization with the specific NTP server on the NTP client, you can apply NTP authentication in client/server mode.
Context
Perform the following steps on the FW that functions as an NTP unicast client.
Procedure
- Access the system view.
system-view
- Specify the ID of the authentication key used for synchronization with the server with a specified IPv4 or IPv6 address.
- ntp-service unicast-server ip-address [ version number | [ authentication-keyid key-id | autokey ] | source-interface interface-type interface-number | preference | vpn-instance vpn-instance-name | maxpoll max-number | minpoll min-number | burst | iburst | preempt | port port-number ] *
- ntp-service unicast-server ipv6 ipv6-address [ [ authentication-keyid key-id | autokey ] | source-interface interface-type interface-number | preference | vpn-instance vpn-instance-name | maxpoll max-number | minpoll min-number | burst | iburst | preempt | port port-number ] *