Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 107
94
Reference: 127.127.1.0 Clock stratum: 2
Reachabilities: 2 Poll interval: 64
Last receive time: 71 Offset: -0.0
Roundtrip delay: 0.0 Dispersion: 0.0
Total sessions : 1
The output shows that an association has been set up between Router A and Router C.
Configuration example for NTP client/server mode
with authentication
Network requirements
•
As shown in
, configure the local clock of Device A as a reference source, with the stratum
level 2.
•
Configure Device B to operate in client mode and specify Device A as the NTP server of Device B,
with Device B as the client.
•
Configure NTP authentication on both Device A and Device B.
Figure 36 Network diagram
Configuration procedure
1.
Set the IP address for each interface as shown in
. (Details not shown.)
2.
Configure Device A:
# Enable the NTP service.
[DeviceA] ntp-service enable
# Specify the local clock as the reference source, with the stratum level 2.
[DeviceA] ntp-service refclock-master 2
3.
Configure Device B:
# Enable the NTP service.
[DeviceB] ntp-service enable
# Enable NTP authentication on Device B.
[DeviceB] ntp-service authentication enable
# Set an authentication key, and input the key in plain text.
[DeviceB] ntp-service authentication-keyid 42 authentication-mode md5 simple
aNiceKey
# Specify the key as a trusted key.
[DeviceB] ntp-service reliable authentication-keyid 42