Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 109
96
Configuration example for NTP broadcast mode
with authentication
Network requirements
As shown in
, Router C functions as the NTP server for multiple devices on different network
segments and synchronizes the time among multiple devices. Router A and Router B authenticate the
reference source.
•
Configure Router C's local clock as a reference source, with the stratum level 3.
•
Configure Router C to operate in broadcast server mode and send out broadcast messages from
Ethernet 1/1.
•
Router A and Router B operate in broadcast client mode and receive broadcast client through
Ethernet 1/1.
•
Configure NTP authentication on Router A, Router B, and Router C.
Figure 37 Network diagram
Configuration procedure
1.
Set the IP address for each interface as shown in
. (Details not shown.)
2.
Configure Router A:
# Enable the NTP service.
[RouterA] ntp-service enable
# Enable NTP authentication on Router A. Configure an NTP authentication key, with the key ID of
88 and key value of 123456. Input the key in plain text, and specify it as a trusted key.
[RouterA] ntp-service authentication enable
[RouterA] ntp-service authentication-keyid 88 authentication-mode md5 simple 123456
[RouterA] ntp-service reliable authentication-keyid 88
# Configure Router A to operate in broadcast client mode and receive NTP broadcast messages
from Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ntp-service broadcast-client