Configuring optional parameters of ntp, Specifying the source interface for ntp messages – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 79

6-11
z
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 ACs synchronize themselves to it. The synchronization distances between
the primary reference source and other ACs on the network, namely, the number of NTP servers
on the NTP synchronization paths, determine the clock stratum levels of the ACs.
z
After you have configured the local clock as a reference clock, the local AC can act as a reference
clock to synchronize other ACs in the network. Therefore, perform this configuration with caution to
avoid clock errors of the ACs in the network.
z
In this command, ip-address must be 127.127.1.u, where u ranges 0 to 3, representing the NTP
process ID.
Configuring Optional Parameters of NTP
Specifying the Source Interface for NTP Messages
If you specify the source interface for NTP messages, the AC 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 AC 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.
Following these steps to specify the source interface for NTP messages:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Specify the source interface for
NTP messages
ntp-service source-interface
interface-type interface-number
Required
By default, no source interface is
specified for NTP messages, and
the system uses the IP address of
the interface determined by the
matching route as the source IP
address of NTP messages.
z
If you have specified the source interface for NTP messages in the ntp-service unicast-server or
ntp-service unicast-peer command, the interface specified in the ntp-service unicast-server or
ntp-service unicast-peer command serves as the source interface of NTP messages.
z
If you have configured the ntp-service broadcast-server or ntp-service multicast-server
command, the source interface of the broadcast or multicast NTP messages is the interface
configured with the respective command.
z
If the specified source interface for NTP messages is down, the source IP address for an NTP
message that is sent out is the primary IP address of the outgoing interface of the NTP message.