Figure 5-5
Networking diagram of the NTP multicast mode
R o u te rA
R o u te rB
R o u te rC
E h t1 /0 /0
1 0.1.1.1 /2 4
E th 1/0/0
1 0 .1 .1 .2 //2 4
E h t1 /0 /0
1 0.1.1.3/2 4
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure RouterA as an NTP multicast server.
2.
Configure RouterB and RouterC as NTP multicast clients.
Data Preparation
To complete the configuration, you need the following data:
l
IP addresses of RouterA, RouterB, and RouterC
l
Stratum of the NTP primary clock
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 multicast server.
# Set the local clock on RouterA as an NTP primary clock with stratum 2.
<RouterA>
system-view
[RouterA]
ntp-service refclock-master 2
# Configure RouterA to be an NTP multicast server. NTP multicast packets are sent from Eth
1/0/0.
[RouterA]
interface ethernet 1/0/0
[RouterA-Ethernet1/0/0]
ntp-service multicast-server
Step 3
Configure RouterB.
# Configure RouterB to be an NTP multicast client. RouterB senses the NTP multicast packets
on Eth 1/0/0.
<RouterB>
system-view
[RouterB]
interface ethernet 1/0/0
[RouterB-Ethernet1/0/0]
ntp-service multicast-client
Step 4
Configure RouterC.
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.
135