Configuring a multicast client
To do...
Enter system view
Enter interface view
Configure the device to work in
the NTP multicast client mode
Configuring the multicast server
To do...
Enter system view
Enter interface view
Configure the device to
work in the NTP
multicast server mode
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 Optional Parameters of NTP
Specifying the Source Interface for NTP Messages
If you specify the source interface for NTP messages, the device 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 device 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...
Enter system view
Specify the source
interface for NTP
messages
Use the command...
system-view
interface interface-type
interface-number
ntp-service multicast-client
[ ip-address ]
Use the command...
system-view
interface interface-type
interface-number
ntp-service multicast-server
[ ip-address ] [ authentication-keyid
keyid | ttl ttl-number | version
number ] *
Use the command...
system-view
ntp-service
source-interface
interface-type
interface-number
24-10
Remarks
—
Enter the interface used to
receive NTP multicast
messages.
Required
Remarks
—
Enter the interface used to
send NTP multicast message.
Required
Remarks
—
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.