< Home

ptp announce receipt-timeout

Function

The ptp announce receipt-timeout command configures the maximum timeout times of receiving Announce messages on an interface.

The undo ptp announce receipt-timeout command restores the default maximum timeout times of receiving Announce messages on an interface.

By default, the maximum timeout times of receiving Announce messages is 3.

Format

ptp announce receipt-timeout timeout-value

undo ptp announce receipt-timeout

Parameters

Parameter

Description

Value

timeout-value

Specifies the maximum timeout times of receiving Announce messages.

The value is an integer that ranges from 2 to 255.

The default value is 3.

Views

XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Announce messages are advertisement messages in PTP, which are used to establish the master-slave hierarchy between devices. When the maximum timeout times of receiving Announce messages on an interface exceeds the specified threshold:
  • In dynamic clock source selection: The local device configures the status of the 1588v2 interface as non-slave. That is, the 1588v2 interface does not synchronize the time with other devices.
  • In static clock source selection: The 1588v2 interface status remains unchanged.

Timeout interval for receiving Announce messages on the local interface = Maximum timeout times of receiving Announce messages on the local interface (receipt-timeout) x Interval for sending Announce messages to the peer device (announce-interval) The interval for sending Announce messages to the peer device (announce-interval) is set using the ptp announce-interval announce-interval command.

If you run this command multiple times, only the latest configuration takes effect.

Example

# Set the maximum timeout times of receiving Announce messages on XGigabitEthernet0/0/1 of the PTP device to 4.

<HUAWEI> system-view
[HUAWEI] interface xgigabitethernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] ptp announce receipt-timeout 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >