Huawei NetEngine5000E Configuration Manual page 52

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
l
l
l
Procedure
Step 1 Configure an IP address for each router.
Configure IP addresses based on
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
Issue 01 (2011-10-15)
IP addresses of Router A, Router C, Router D, and Router F
Stratum of the NTP primary clock
Authentication key and its ID
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Figure
2-6. The detailed procedures are not mentioned here.
2 NTP Configuration
44

Advertisement

Table of Contents
loading

Table of Contents