The ptp announce-interval command sets the interval for sending Announce packets on an interface of the PTP device.
The undo ptp announce-interval command restores the default interval for sending Announce packets on the interface of the PTP device.
By default, the interval for sending Announce packets is 128 ms.
Parameter |
Description |
Value |
---|---|---|
announce-interval |
Indicates that the interval for sending Announce packets on the interface is set to the nth power of 2 in milliseconds, where n is specified by announce-interval. |
The value is an integer that ranges from 0 to 20. By default, the interval is 7 (128 ms). |
Announce messages are advertisement messages in PTP, which are used to establish the master-slave hierarchy between devices. Announce packets ensure the exchange of clock synchronization information between PTP devices. If the value of the announce-interval is too small, devices frequently exchange PTP packets, which consume excessive bandwidth; if the value of the announce-interval is too great, the clock synchronization accuracy cannot be guaranteed. Therefore, while the clock synchronization accuracy is ensured, you should set the announce-interval to a larger value.