< Home

ptp asymmetry-correction

Function

The ptp asymmetry-correction command sets the delay offset value to ensure accurate time synchronization.

The undo ptp asymmetry-correction command restores the default delay offset.

By default, the asymmetry correction value of the PTP packet sent from the interface is not configured.

Format

ptp asymmetry-correction { positive | negative } asymmetry-correction

undo ptp asymmetry-correction

Parameters

Parameter

Description

Value

positive asymmetry-correction

Indicates the positive asymmetry correction value.

The value is an integer that ranges from 0 to 2000000, in ns. The default value is 0.

negative asymmetry-correction

Indicates the negative asymmetry correction value.

The value is an integer that ranges from 0 to 2000000, in ns. The default value is 0.

Views

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

Default Level

2: Configuration level

Usage Guidelines

In case of path delay calculation, PTP measures the packet sending path only and considers the delays for sending and receiving packets as the same by default.

If the two delays are different or asymmetric, you need to configure an asymmetry correction value. In this case, the device automatically considers the asymmetry correction value in the path delay calculation complying with the Pdelay or Delay measurement mechanism.

Example

# Set the delay offset value to 1 ns on XGigabitEthernet 0/0/1.

<HUAWEI> system-view
[HUAWEI] interface xgigabitethernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] ptp asymmetry-correction positive 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >