Operation Manual – NTPH3C S3100-52P Ethernet Switch Chapter 1 NTP Configuration1-25z Device B is an S3100-52P Ethernet switch and uses Device A as the NTP server.Device B is set to work in client mode, while Device A works in server modeautomatically.z The NTP authentication function is enabled on Device A and Device B.II. Network diagramFigure 1-10 Network diagram for NTP server/client mode with authenticationconfigurationIII. Configuration procedure1) Configure Device B.# Enter system view. system-view# Enable the NTP authentication function.[DeviceB] ntp-service authentication enable# Configure an MD5 authentication key, with the key ID being 42 and the key beingaNiceKey.[DeviceB] ntp-service authentication-keyid 42 authentication-mode md5aNiceKey# Specify the key 42 as a trusted key.[DeviceB] ntp-service reliable authentication-keyid 42# Associate the trusted key with the NTP server (Device A).[DeviceB] ntp-service unicast-server 1.0.1.11 authentication-keyid 42After the above configurations, Device B is ready to synchronize with Device A.Because the NTP authentication function is not enabled on Device A, the clock ofDevice B will fail to be synchronized to that of Device A.2) To synchronize Device B, you need to perform the following configurations onDevice A.# Enable the NTP authentication function. system-view[DeviceA] ntp-service authentication enable# Configure an MD5 authentication key, with the key ID being 42 and the key beingaNiceKey.[DeviceA] ntp-service authentication-keyid 42 authentication-mode md5aNiceKey