1-18
Configuring NTP Broadcast Mode Network requirements
z The local clock of Device C is set as the NTP master clock, with a stratum level of 2. Configure
Device C to work in the NTP broadcast server mode and send NTP broadcast messages through
VLAN-interface 2.
z Device A and Device D are two S4500 Ethernet switches. Configure Device A and Device D to
work in the NTP broadcast client mode and listen to broadcast messages through their own
VLAN-interface 2.
Network diagram
Figure 1-8 Network diagram for the NTP broadcast mode configuration
Configuration procedure
z Configure Device C.
# Enter system view.
<DeviceC> system-view
# Set Device C as the broadcast server, which sends broadcast messages through VLAN-interface 2.
[DeviceC] interface Vlan-interface 2
[DeviceC-Vlan-interface2] ntp-service broadcast-server
z Configure Device A. (Perform the same configuration on Device D.)
# Enter system view.
<DeviceA> system-view
# Set Device A as a broadcast client.
[DeviceA] interface Vlan-interface 2
[DeviceA-Vlan-interface2] ntp-service broadcast-client
After the above configurations, Device A and Device D will listen to broadcast messages through their
own VLAN-interface 2, and Device C will send broadcast messages through VLAN-interface 2.
Because Device A and Device C do not share the same network segment, Device A cannot receive
broadcast messages from Device C, while Device D is synchronized to Device C after receiving
broadcast messages from Device C.