Huawei AR150/200 Series Configuration Manual page 144

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
[RouterA-Ethernet1/0/0] quit
Step 3 Configure RouterB.
# Enable NTP authentication.
<RouterB> system-view
[RouterB] ntp-service authentication enable
[RouterB] ntp-service authentication-keyid 16 authentication-mode md5 Hello
[RouterB] ntp-service reliable authentication-keyid 16
# Configure RouterB to be the NTP broadcast client. RouterB senses the broadcast packets on
Eth 1/0/0.
[RouterB] interface ethernet 1/0/0
[RouterB-Ethernet1/0/0] ntp-service broadcast-client
[RouterB-Ethernet1/0/0] quit
After configurations, the clock on RouterD is synchronized to the clock on RouterC.
Step 4 Configure RouterC.
# 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 RouterC to be the NTP broadcast client. RouterC senses the NTP broadcast packets
on Eth 1/0/0.
[RouterC] interface ethernet 1/0/0
[RouterC-Ethernet1/0/0] ntp-service broadcast-client
[RouterC-Ethernet1/0/0]quit
Step 5 Verify the configuration.
After the configurations, the clock on RouterB and RouterC can be synchronized to the clock
on RouterA.
Check the NTP status on RouterB and you can find that the clock status is "synchronized". That
is, clock synchronization completes. The stratum of the clock on RouterBis 4, one stratum lower
than that of RouterA.
[RouterB] display ntp-service status
clock status: synchronized
clock stratum: 4
reference clock ID: 10.1.1.2
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
clock offset: 0.0000 ms
root delay: 0.00 ms
root dispersion: 0.42 ms
peer dispersion: 0.00 ms
reference time: 12:17:21.773 UTC Mar 7 2006(C7B7F851.C5EAF25B)
----End
Configuration Files
l
Issue 02 (2012-03-30)
Configuration file of RouterA
#
sysname RouterA
#
interface Ethernet1/0/0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NTP Configuration
133

Advertisement

Table of Contents
loading

Table of Contents