![Huawei NetEngine5000E Скачать руководство пользователя страница 52](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429052.webp)
l
IP addresses of Router A, Router C, Router D, and Router F
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 Router C as a primary NTP clock with stratum being 3.
<RouterC>
system-view
[~RouterC]
ntp-service refclock-master 3
# Enable NTP authentication.
[~RouterC]
ntp-service authentication enable
[~RouterC]
ntp-service authentication-keyid 16 authentication-mode md5 Hello
[~RouterC]
ntp-service reliable authentication-keyid 16
# Configure Router C to be an NTP broadcast server. Broadcast packets are encrypted by using
the authentication key ID 16 and then sent from GE 1/0/0.
[~RouterC]
interface gigabitethernet 1/0/0
[~RouterC-GigabitEthernet1/0/0]
ntp-service broadcast-server authentication-keyid
16
[~RouterC-GigabitEthernet1/0/0]
commit
[~RouterC-GigabitEthernet1/0/0]
quit
Step 3
Configure the NTP broadcast client Router D on the same network segment as that of the NTP
server.
# Enable NTP authentication.
<RouterD>
system-view
[~RouterD]
ntp-service authentication enable
[~RouterD]
ntp-service authentication-keyid 16 authentication-mode md5 Hello
[~RouterD]
ntp-service reliable authentication-keyid 16
# Configure Router D to be the NTP broadcast client. Router D senses the broadcast packets on
GE 1/0/0.
[~RouterD]
interface gigabitethernet 1/0/0
[~RouterD-GigabitEthernet1/0/0]
ntp-service broadcast-client
[~RouterD-GigabitEthernet1/0/0]
commit
[~RouterD-GigabitEthernet1/0/0]
quit
After configurations, the clock on Router D is synchronized to the clock on Router C.
Step 4
Configure the NTP broadcast client Router A in a network segment different from that of the
NTP server.
# 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 Router A to be the NTP broadcast client. Router A senses the NTP broadcast packets
on GE 1/0/0.
[~RouterA]
interface gigabitethernet 1/0/0
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
2 NTP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
44