Using NTP to Send Periodic Broadcast Time Updates
Problem
You want to set up your router to use the NTP broadcast mode so that devices do not need to query periodically for the time.
Solution
Use the NTP broadcast interface configuration command to enable server-side NTP broadcasts:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#clock timezoneEST -5 Router1(config)#clock summer-timeEDTrecurringRouter1(config)#ntp server172.25.1.1 Router1(config)#ntp server172.25.1.2 Router1(config)#interfaceFastEthernet0/0 Router1(config-if)#ntp broadcastRouter1(config-if)#endRouter1#
To enable a NTP broadcast client on the router, enter the following:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#clock timezoneRouter2(config)#EST -5clock summer-timeEDTrecurringRouter2(config)#ntp broadcastdelayRouter2(config)#4interfaceRouter2(config-if)#Ethernet0ntp broadcast clientRouter2(config-if)#endRouter2#
Discussion
Usually NTP associations are configured in a master/slave relationship, but the server (router) can also send periodic time updates using broadcast messages. This is useful on LAN segments that contain a large number of devices requiring NTP synchronization. Instead of responding to a large number of unicast NTP packets through a single interface, the router can simply send a single broadcast packet at a regular interval.
NTP devices configured to accept NTP broadcast ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access