Configuring the local clock as a reference source, Configuring optional parameters of ntp, Specifying the source interface for ntp messages – H3C Technologies H3C SR8800 User Manual
Page 73

61
NOTE:
•
A multicast server can synchronize broadcast clients only after its clock has been synchronized.
•
You can configure up to 1024 multicast clients, among which 128 can take effect at the same time.
Configuring the local clock as a reference source
A network router can get its clock synchronized in one of the following two ways:
•
Synchronized to the local clock, which as the reference source.
•
Synchronized to another router on the network in any of the four NTP operation modes previously
described.
If you configure two synchronization modes, the router will choose the optimal clock as the reference
source.
To configure the local clock as a reference source:
Step Command
1.
Enter system view.
system-view
2.
Configure the local clock as a reference source.
ntp-service refclock-master [ ip-address ] [ stratum ]
NOTE:
•
In this command,
ip-address must be 127.127.1.u, where u ranges from 0 to 3, representing the NTP
process ID.
•
Typically, the stratum level of the NTP server which is synchronized from an authoritative clock (such as
an atomic clock) is set to 1. This NTP server operates as the primary reference source on the network;
and other routers synchronize themselves to it. The synchronization distances between the primary
reference source and other routers on the network, namely, the number of NTP servers on the NTP
synchronization paths, determine the clock stratum levels of the routers.
•
After you have configured the local clock as a reference clock, the local router can act as a reference
clock to synchronize other routers in the network. Therefore, perform this configuration with caution to
avoid clock errors of the routers in the network.
Configuring optional parameters of NTP
Specifying the source interface for NTP messages
If you specify the source interface for NTP messages, the router sets the source IP address of the NTP
messages as the primary IP address of the specified interface when sending the NTP messages.
When the router responds to an NTP request received, the source IP address of the NTP response is
always the IP address of the interface that received the NTP request.
To specify the source interface for NTP messages:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
- H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module