The ptp announce receipt-timeout command sets the maximum number of consecutive failed attempts to receive Announce messages on a PTP interface.
The undo ptp announce receipt-timeout command restores the default maximum number of consecutive failed attempts to receive Announce messages on a PTP interface.
By default, the maximum number of consecutive failed attempts to receive Announce messages is 3.
Parameter | Description | Value |
---|---|---|
receipt-timeout |
Specifies the maximum number of consecutive failed attempts to receive Announce messages on a PTP interface. |
In 1588v2 mode, the value is an integer ranging from 2 to 255, and the default value is 3. In G.8275.1 mode, the value ranges from 3 to 255, and the default value is 3.In SMPTE-2059-2 mode, the value ranges from 2 to 10, and the default value is 3. |
Usage Scenario
Two devices exchange Announce packets to determine the master/slave relationship. The master device sends Sync packets to notify the slave device of time signal parameters and uses a delay measurement mechanism to achieve time signals accuracy.
To set the maximum number of Announce packets that a PTP interface fails to receive consecutively, run the ptp announce receipt-timeout command. If the PTP interface on a device fails to receive a specified number of Announce packets, the interface status becomes Master, and the device stops attempting to synchronize the time with other PTP devices. The device uses the BMC algorithm to select a clock source and synchronize the time with the clock source. Increase receipt-timeout to reduce the clock source switching frequency; reduce receipt-timeout to switch clock sources. Using the default value is recommended.Precautions
Local timeout period of receiving Announce packets = Locally configured receipt-timeout x Remotely configured announce-interval
The ptp announce-interval announce-interval command sets the interval at which Announce packets are sent.