l
RouterB and RouterC sense the broadcast packets respectively on Eth 1/0/0 of them.
Figure 5-4
Networking diagram of the NTP broadcast mode
R o u te rA
R o u te rB
R o u te rC
E th 1 /0 /0
1 0.1.1.1 /2 4
E th 1/0/0
1 0 .1 .1 .2 //2 4
E th 1 /0 /0
1 0.1.1.3/2 4
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure RouterA as an NTP broadcast server.
2.
Configure RouterB and RouterC as the NTP broadcast clients.
3.
Configure NTP authentication on RouterA, RouterB, and RouterC.
Data Preparation
To complete the configuration, you need the following data:
l
IP addresses of RouterA, RouterB,andRouterC
l
Stratum of the NTP primary clock
l
Authentication key and its ID
Procedure
Step 1
Configure an IP address for each Router.
Configure IP addresses based on
. The detailed procedures are not mentioned here.
Step 2
Configure an NTP broadcast server and enable NTP authentication on it.
# Set the local clock of RouterA as a primary clock with stratum being 3.
<RouterA>
system-view
[RouterA]
ntp-service refclock-master 3
# Enable NTP authentication.
[RouterA]
ntp-service authentication enable
[RouterA]
ntp-service authentication-keyid 16 authentication-mode md5 Hello
[RouterA]
ntp-service reliable authentication-keyid 16
# Configure RouterA to be an NTP broadcast server. Broadcast packets are encrypted by using
the authentication key ID 16 and then sent from Eth 1/0/0.
[RouterA]
interface ethernet 1/0/0
[RouterA-Ethernet1/0/0]
ntp-service broadcast-server authentication-keyid 16
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.
132