
No.
Data
1
Primary NTP clock and its stratum
2
Interfaces to send and receive NTP packets
3
NTP version
4
Preparing the data according to the operation mode
l
Server/client mode: IP address of the server and the VPN instance that the server
belongs to
l
Peer mode: IP address of the symmetric passive end and the VPN instance that it
belongs to
l
Broadcast mode: interfaces to send and receive broadcast NTP packets and the
maximum sessions set up dynamically on the client
l
Multicast mode: IP address of the multicast group, the TTL value of the multicast
packets, the interfaces to send and receive the multicast packets, and the maximum
number of the session dynamically set up on the client
5
Interface disabled from receiving NTP packets
3.3.2 Configuring the NTP Primary Clock
The stratum configured for the master clock on the server must be fewer than that for the clock
on the client. Otherwise, the clock on the client cannot synchronize with the master clock on the
server.
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
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
3 NTP Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-7