Configuring NTP in broadcast mode
For a broadcast client to synchronize to a broadcast server, make sure the broadcast server is synchronized by other devices or uses its local clock as a reference source.
Configure NTP in broadcast mode on both the broadcast server and client.
Configuring a broadcast client
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | Enter the interface for receiving NTP broadcast messages. |
3. Configure the device to operate in broadcast client mode. | ntp-service broadcast-client | By default, the device does not operate in any NTP association mode. After you execute the command, the device receives NTP broadcast messages from the specified interface. |
Configuring the broadcast server
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | Enter the interface for sending NTP broadcast messages. |
3. Configure the device to operate in NTP broadcast server mode. | ntp-service broadcast-server [ authentication-keyid keyid | version number ] * | By default, the device does not operate in any NTP association mode. After you execute the command, the device sends NTP broadcast messages from the specified interface. |