ip address 10.1.1.1 255.255.255.0
ntp-service broadcast-server authentication-keyid 16
#
ntp-service authentication enable
ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 16
ntp-service refclock-master 3
#
return
l
Configuration file of RouterB
#
sysname RouterB
#
interface Ethernet1/0/0
ip address 10.1.1.2 255.255.255.0
ntp-service broadcast-client
#
ntp-service authentication enable
ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 16
#
Return
l
Configuration file of RouterC
#
sysname RouterC
#
interface Ethernet1/0/0
ip address 10.1.1.3 255.255.255.0
ntp-service broadcast-client
#
ntp-service authentication enable
ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 16
#
return
5.4.4 Example for Configuring Multicast Mode
In a multicast domain, the device with the most precise clock is specified as the NTP server.
Clocks on other devices synchronize with the clock on the NTP server.
Networking Requirements
l
RouterA ,RouterB and RouterC are in the same network segment;
l
RouterA functions as an NTP multicast server and its local clock is a primary clock with
the stratum 2. Multicast packets are sent out from Eth 1/0/0.
l
RouterB and RouterC sense the multicast packets respectively on Eth 1/0/0 of them.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
5 NTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
134