Configuring The Unicast Client/Server Mode - Huawei AR150/200 Series Configuration Manual

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
Context
If you want to configure a router to provide a primary NTP clock, do as follows on the router
functioning as the NTP server.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ntp-service refclock-master [ ip-address ] [ stratum ]
A primary NTP server is displayed.
ip-address is the IP address of the local reference clock. Its value is 127.127.t.u. Here, "t" ranges
from 0 to 37. Currently, "t" can be only 1, indicating the local reference clock. "u" indicates the
NTP process number, ranging from 0 to 3.
When no IP address is specified, the local clock whose IP address is 127.127.1.0 functions as
the primary NTP clock by default, with the stratum being 8.
----End

5.2.3 Configuring the Unicast Client/Server Mode

In Client/Server mode, the clock on the client synchronizes with the master clock on the server.
Context
Commonly, specify the IP address of the NTP server on the client. The client and server can
then exchange NTP packets using this IP address.
If the source interface to send NTP packets is specified on the server, the IP address of the server
configured on the client should be the same; otherwise, the client cannot process NTP packets
sent from the server and clock synchronization fails.
Procedure
l
Issue 02 (2012-03-30)
Configuring the NTP Client
Do as follows on the router functioning as a client:
1.
Run:
system-view
The system view is displayed.
2.
(Optional) Run:
ntp-service source-interface interface-type interface-number [ vpn-
instance vpn-instance-name ]
ntp-service [ ipv6 ] source-interface interface-type interface-number
[ vpn-instance vpn-instance-name ]
The local source interface that receives the NTP packet is configured.
3.
Run:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 NTP Configuration
113

Advertisement

Table of Contents
loading

Table of Contents