Configuring The Unicast Server/Client Mode - Huawei NetEngine5000E Configuration Manual

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
The system view is displayed.
Step 2 Run:
ntp-service refclock-master [ ip-address ] [ stratum ]
An NTP primary clock is configured.
ip-address specifies the IP address of the local reference clock. Reference clock addresses are
of the form 127.127.t.u. Here, "t" indicates the clock type and ranges from 0 to 37. Currently,
"t" is the local reference clock and the value is 1. "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.
stratum specifies the stratum of the local reference clock. If this parameter is not specified, the
default stratum is 8.
Step 3 Run:
commit
The configurations are committed.
----End

2.3.2 Configuring the Unicast Server/Client Mode

This section describes how to configure the unicast server and client mode. In client/server mode,
the clock on the client synchronizes with the primary clock on the server.
Procedure
l
Issue 01 (2011-10-15)
Configure the NTP 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 ]
The specified source interface IP address is used as the source IP address to send NTP
packets irrespective of the out going interface.
3.
Run:
ntp-service unicast-server ip-address [ version number | authentication-
keyid key-id | source-interface interface-type interface-number | vpn-
instance vpn-instance-name | preference ]
The IP address of the NTP server is configured.
ip-address is the IP address of the NTP server. It can be the IP address of the host
rather than a broadcast address, a multicast address, or the IP address of the reference
clock. 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.
Step 2 is optional. If source-interface is specified in both Step 2 and Step 3, use the
source interface specified in Step 3 preferentially.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 NTP Configuration
*
20

Advertisement

Table of Contents
loading

Table of Contents