ptp announce receipt-timeout

Function

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.

Format

ptp announce receipt-timeout receipt-timeout

undo ptp announce receipt-timeout

Parameters

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.

Views

100GE interface view, 10G LAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE-100G interface view, FlexE-400G interface view, FlexE-50G interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

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.

Example

# Set the maximum number of consecutive failed attempts to receive Announce messages on GE 0/1/0 of a 1588v2 device to 4.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ptp announce receipt-timeout 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >