Huawei AR150 Series Configuration Manual page 131

Hide thumbs Also See for AR150 Series:
Table of Contents

Advertisement

Huawei AR150&200&1200&2200&3200 Series Enterprise
Routers
Configuration Guide - Device Management
[RouterC] ntp-service authentication enable
[RouterC] ntp-service authentication-keyid 16 authentication-mode md5 Hello
[RouterC] ntp-service reliable authentication-keyid 16
# Configure RouterC as the NTP broadcast server that sends NTP broadcast packets from
interface GE1/0/0, and specify the key with the ID 16 for encryption.
[RouterC] interface gigabitethernet 1/0/0
[RouterC-GigabitEthernet1/0/0] ntp-service broadcast-server authentication-keyid
16
[RouterC-GigabitEthernet1/0/0] quit
Step 3 Configure the NTP broadcast client RouterD on a network segment the same 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 RouterD as the NTP broadcast client that listens to the NTP broadcast packets from
interface GE1/0/0.
[RouterD] interface gigabitethernet 1/0/0
[RouterD-GigabitEthernet1/0/0] ntp-service broadcast-client
[RouterD-GigabitEthernet1/0/0] quit
After the configuration is complete, RouterD synchronizes its clock to that of RouterC. For
details about the configuration of RouterF, which is similar to that of RouterC, see the
corresponding configuration file.
Step 4 Configure the NTP broadcast client RouterA on a network segment different from that of the
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 RouterA as the NTP broadcast client that listens to the NTP broadcast packets from
interface GE1/0/0.
[RouterA] interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0] ntp-service broadcast-client
[RouterA-GigabitEthernet1/0/0] quit
Step 5 Verify the configuration.
After the preceding configuration is complete, RouterD can synchronize its clock to that of
RouterC, but RouterA cannot synchronize its clock to that of RouterC.
This is because RouterA is on a network segment different from that of RouterC, but RouterD
is on a network segment the same as that of RouterC.
# Check the NTP status of RouterD, and you can find that the clock status is "synchronized",
indicating that the synchronization is complete. The stratum of the clock is 4, which is one
stratum lower than that of the clock of RouterC.
[RouterD] display ntp-service status
clock status: synchronized
clock stratum: 4
reference clock ID: 3.0.1.31
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
Issue 05 (2014-01-16)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NTP Configuration
122

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents