After the configurations, the local switch periodically sends the clock synchronization
packets to the broadcast address 255.255.255.255.
NOTE
Broadcast mode can be used only in the same LAN.
l
Configuring an NTP Broadcast Client
Do as follows on the switch functioning as an NTP broadcast client:
1.
Run:
system-view
The system view is displayed.
2.
(Optional) Run:
ntp-service max-dynamic-sessions
number
The number of local sessions allowed to be set up dynamically is set.
3.
Run:
vlan
vlan-id
A VLAN is created and the VLAN view is displayed.
4.
Run:
interface vlanif
vlan-id
The interface that receives NTP broadcast packets is specified.
5.
Run:
ntp-service broadcast-client
The local switch is configured as an NTP broadcast client.
Step 2 is optional. By default, a maximum of 100 NTP sessions can be set up
dynamically.
After the configurations, the local switch senses the broadcast NTP packets sent from
the server and synchronizes the local clock.
Running the
ntp-service max-dynamic-sessions
command does not affect the
existence of NTP sessions. When the number of the sessions reaches or exceeds the
maximum, the new session cannot be set up further.
----End
4.3.6 Configuring the Multicast Mode
This part describes how to configure the NTP multicast mode to synchronize clocks in a multicast
domain.
Procedure
l
Configuring an NTP Multicast Server
Do as follows on the switch functioning as an NTP multicast server:
1.
Run:
system-view
The system view is displayed.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
4 NTP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
218