Configuring The Unicast Server/Client Mode - Huawei Quidway S5700 Series Configuration Manual - Network Management

Hide thumbs Also See for Quidway S5700 Series:
Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
Context
If you want to configure a switch to provide a primary NTP clock, do as follows on the switch
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

4.3.3 Configuring the Unicast Server/Client Mode

In C/S 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 01 (2011-10-26)
Configuring the NTP Client
Do as follows on the switch functioning as a client:
1.
Run:
system-view
The system view is displayed.
2.
(Optional) Run:
ntp-service source-interface vlanif vlan-id
The local source interface that receives the NTP packet is configured.
3.
Run:
ntp-service unicast-server ip-address [ version number | authentication-
keyid key-id | source-interface interface-type interface-number |
preference ] *
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 NTP Configuration
215

Advertisement

Table of Contents
loading

Table of Contents