return
l
Configuration file of RouterD
#
sysname RouterD
#
interface Ethernet1/0/0
ip address 10.0.0.3 255.255.255.0
#
ntp-service authentication enable
ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX
\#Q=^Q`MAF4<1!!
ntp-service reliable authentication-keyid 42
ntp-service unicast-server 10.0.0.1 authentication-keyid 42
#
return
5.4.2 Example for Configuring NTP Peer Mode
In peer mode, clocks on the two peers synchronize with each other.
Networking Requirements
, three devices are located in a LAN.
l
Configure the clock on RouterC to be an primary NTP clock with the stratum being 2.
l
RouterD takes RouterC as its NTP server. That is, RouterD functions as the client.
l
RouterE takes RouterD as its symmetric passive end. That is, RouterE is the symmetric
active end.
Figure 5-3
Networking diagram of the NTP peer mode
Router C
Router D
Router E
Eth1/0/0
10.0.1.1/24
Eth1/0/0
10.0.1.2/24
Eth1/0/0
10.0.1.3/24
Configuration Roadmap
The configuration roadmap is as follows
1.
Configure the clock on RouterC to be the NTP primary clock. The clock on RouterD should
be synchronized to the clock on RouterC.
2.
Configure RouterE and RouterD to be NTP peer so that RouterE should send clock
synchronization requests to RouterD
3.
Finally, the clocks on RouterC, RouterD and RouterE can be synchronized.
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.
129