1-14To do… Use the command… RemarksClient/server mode:ntp-service unicast-server{ ip-address | server-name }authentication-keyid keyidAssociate the specified keywith an NTP server Symmetric peers mode:ntp-service unicast-peer{ ip-address | peer-name }authentication-keyid keyidRequiredYou can associate anon-existing key with an NTPserver. To enable NTPauthentication, you mustconfigure the key and specify itas a trusted key afterassociating the key with theNTP server.After you enable the NTP authentication feature for the client, make sure that you configure for the clientan authentication key that is the same as on the server and specify that the authentication key is trusted;otherwise, the client cannot be synchronized to the server.Configuring NTP authentication for a serverFollow these steps to configure NTP authentication for a server:To do… Use the command… RemarksEnter system view system-view —Enable NTP authentication ntp-service authenticationenableRequiredDisabled by defaultConfigure an NTPauthentication keyntp-serviceauthentication-keyid keyidauthentication-mode md5valueRequiredNo NTP authentication key bydefaultConfigure the key as a trustedkeyntp-service reliableauthentication-keyid keyidRequiredNo authentication key isconfigured to be trusted bydefault.Enter interface view interface interface-typeinterface-number —Broadcast server mode:ntp-service broadcast-serverauthentication-keyid keyidAssociate the specified keywith an NTP server Multicast server mode:ntp-service multicast-serverauthentication-keyid keyidRequiredYou can associate anon-existing key with an NTPserver. To enable NTPauthentication, you mustconfigure the key and specify itas a trusted key afterassociating the key with theNTP server.