ptp-adaptive announce receipt-timeout

Function

The ptp-adaptive announce receipt-timeout command sets the allowable maximum number of consecutive Announce packets that the client fails to receive.

The undo ptp-adaptive announce receipt-timeout command restores the default setting.

The default value is 3.

By default, the value is 3.

Format

ptp-adaptive announce receipt-timeout timeout-time

undo ptp-adaptive announce receipt-timeout

Parameters

Parameter Description Value
receipt-timeout timeout-time

Specifies the allowable maximum number of consecutive Announce packets that the client fails to receive.

The value is an integer ranging from 2 to 255.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

After the connection between the client and server is established, the server periodically sends Announce packets to inform the client of the connection validity.

The ptp-adaptive announce receipt-timeout command is used to set the allowable maximum number of consecutive Announce packets that the client fails to receive. Usually, the default value is used. The interval at which Announce packets are sent and the number of consecutive Announce packets that the client fails to receive together define the timeout period of the Announce packet. For example, if the interval at which Announce packets are sent is 0.125s and the number of consecutive Announce packets that the client fails to receive is 3, the timeout period of the Announce packet is 0.375s (0.125 x 3). Usually, 1588 ACR/ATR-enabled client and server are connected across an intermediate network. Considering the delay on the intermediate network, setting the timeout period for Announce packets to 1s or a larger value is recommended. As a result, the allowable maximum number of consecutive Announce packets that the client fails to receive can be set to 8.

Prerequisites

1588 ACR/ATR has been enabled.

Configuration Impact

The ptp-adaptive announce receipt-timeout command sets the allowable maximum number of consecutive Announce packets that the client fails to receive.

Precautions

This command is supported only on the admin VS.

This command is available only for 1588v2 ACR/ATR enabled clients.

Example

# Set the allowable maximum number of consecutive Announce packets that the Router fails to receive to 8.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[*HUAWEI] ptp-adaptive device-type client
[*HUAWEI] ptp-adaptive announce receipt-timeout 8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >