note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured,
6 vpn-instance
5.4 NTP Configuration Examples
This section provides examples for configuring NTP, and illustrates the networking
requirements, configuration roadmap, and configuration notes. You can better understand the
configuration procedures with the help of the configuration flowchart.
5.4.1 Example for Configuring NTP Authentication in Unicast
Server and Client Mode
This part provides examples for configuring NTP authentication in unicast server and client
mode. You must first enable NTP authentication on the client and then specify IP address of the
NTP server and the authentication key delivered to the server. Configurations on the client and
server must be complete; otherwise, the authentication cannot be passed.
Networking Requirements
l
RouterA functions as a unicast NTP server. The clock on it functions as a primary NTP
clock with the stratum being 2.
l
RouterB functions as a unicast NTP client. Its clock needs to be synchronized with the
clock on RouterA.
l
RouterC and RouterD function as NTP clients of RouterB.
l
Enable NTP authentication.
NOTE
AR150/200 is RouterA, RouterC, or RouterD.
Figure 5-2
Networking diagram of the unicast Client/Server mode
Router B
Eth1/0/0
Eth1/0/0
Eth2/0/0
Eth1/0/0
Eth1/0/0
10.0.1.1/24
10.0.0.1/24
2.2.2.2/24
10.0.0.2/24
10.0.0.3/24
Router A
Router C
Router D
IP
Network
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure RouterA to be an NTP server and configure a primary clock on it.
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.
125