![Huawei Quidway S9300 Скачать руководство пользователя страница 150](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487150.webp)
3.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.
Procedure
l
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
interface-type
interface-number
[
vpn-
instance
vpn-instance-name
]
The local source interface that sends 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
|
vpn-
instance
vpn-instance-name
|
preference
] *
The IP address of the NTP server is configured.
Step 2 is optional. If
source-interface
is specified in Step 3, use it preferentially.
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.
NOTE
When the unicast NTP server is specified, the local switch functions as the client automatically.
The server needs to be configured with only a primary clock.
l
(Optional) Configuring the Source Interface for the NTP Server to Send NTP Packets
Do as follows on the switch working as a client:
1.
Run:
system-view
The system view is displayed.
2.
Run:
ntp-service source-interface
interface-type
interface-number
The local source interface that sends NTP packets is specified.
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.
----End
3 NTP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
3-8
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)