ptp-adaptive duration

Function

The ptp-adaptive duration command sets a duration for each type of 1588 ACR/ATR packet.

The undo ptp-adaptive duration command restores the default duration of each type of 1588 ACR/ATR packet.

By default, the duration of each type of 1588 ACR packet is 300s.

Format

ptp-adaptive { announce-duration | sync-duration | delay-resp-duration } duration-value

undo ptp-adaptive { announce-duration | sync-duration | delay-resp-duration }

Parameters

Parameter Description Value
announce-duration

Indicates the duration of Announce packets.

-

sync-duration

Indicates the duration of a Sync packet.

-

delay-resp-duration

Indicates the duration of a Delay_Resp packet.

-

duration-value

Specifies the duration value.

The value is an integer ranging from 60 to 1000, in seconds.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

Announce packets carry clock source information about 1588v2 devices and are used for BMC source selection in 1588 ACR/ATR Layer 3 unicast negotiation. Delay_Resp and Sync packets are used to transmit frequency information during 1588 ACR/ATR Layer 3 unicast negotiation. If the client and the server do not receive any of the three types of packets within a certain period, the Layer 3 unicast negotiation between them fails.

The duration of a packet indicates whether a connection is valid. For example, a client on which the duration of a Sync packet is set records the interval for receiving Sync packets. If the client does not receive the second Sync packet within the duration of a Sync packet, the client considers that the connection with the server fails.

Prerequisites

1588 ACR/ATR has been enabled.

Precautions

This command is supported only on the admin VS.

The duration expiration of any type of packets triggers a client to resend a request for establishing a connection to the server. Generally, modifying the duration of a packet is not recommended.

This command is used on clients.

If the ptp-adaptive duration command is run for multiple times, the latest configuration of this command overrides the previous one.

Example

# Set the duration of Announce packets to 600s.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[~HUAWEI] ptp-adaptive announce-duration 600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >