Step
Configure the device to
3.
operate in NTP broadcast
server mode.
Configuring the multicast mode
The multicast server periodically sends NTP multicast messages to multicast clients, which send replies
after receiving the messages and synchronize their local clocks.
Configure the NTP multicast mode on both the server and clients. The NTP multicast mode must be
configured in a specific interface view.
Configuring a multicast client
Step
1.
Enter system view.
2.
Enter VLAN interface view.
3.
Configure the device to
operate in NTP multicast client
mode.
Configuring the multicast server
Step
1.
Enter system view.
2.
Enter VLAN interface view.
3.
Configure the device to
operate in NTP multicast
server mode.
Configuring optional parameters
This section explains how to configure the 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. NTP
packets might not be received due to state changes of an interface on the device. To avoid that problem,
specify the loopback interface as the source interface.
Command
ntp-service broadcast-server
[ authentication-keyid keyid |
version number ] *
Command
system-view
interface interface-type
interface-number
ntp-service multicast-client
[ ip-address ]
Command
system-view
interface interface-type
interface-number
ntp-service multicast-server
[ ip-address ]
[ authentication-keyid keyid | ttl
ttl-number | version number ] *
17
Remarks
A broadcast server can
synchronize broadcast clients only
when its clock has been
synchronized.
Remarks
N/A
This command enters the view of
the interface for sending NTP
multicast messages.
You can configure up to 1024
multicast clients, of which 128 can
take effect at the same time.
Remarks
N/A
This command enters the view of
the interface for sending NTP
multicast messages.
A multicast server can synchronize
broadcast clients only when its
clock has been synchronized.