Ii. network diagram, Iii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual
Page 484

Operation Manual – NTP
H3C S3100-52P Ethernet Switch
Chapter 1 NTP Configuration
1-22
Note:
This example assumes that H3C1 is a switch that supports the local clock being the
NTP master clock.
II. Network diagram
H3C 1
S3100-52P
1.0.
1.0.1.11/24
1.12/24
H3C 1
S3100-52P
1.0.
1.0.1.11/24
1.12/24
n
Figure 1-10
Network diagram for NTP se rver mode with authentication configuratio
III. Configuration procedure
1) Configure the S3100-52P Ethernet switch.
# Enter system view.
[S3100-52P]
# Set H3C1 to the NTP server.
[S3100-52P] ntp-service unicast-server 1.0.1.11
# Enable the NTP authentication function.
[S3100-52P] ntp-service authentication enable
# Configure an MD5 authentication key, with the key ID being 42 and the key being
aNiceKey
.
[S3100-52P] ntp-service authentication-keyid 42 authentication-mode md5
aNiceKey
# Specify the key as a trusted key.
[S3100-52P] ntp-service reliable authentication-keyid 42
[S3100-52P] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
After the above configurations, S3100-52P is ready to synchronize with H3C1.
Because the NTP authentication function is not enabled on H3C1, S3100-52P will fail to
be synchronized to H3C1.
To synchronize the S3100-52P Ethernet switch, you need to perform the following
configurations on H3C1.
# Enable the NTP authentication function on H3C1.
[H3C1] system-view
[H3C1] ntp-service authentication enable