ptp asymmetry-correction

Function

The ptp asymmetry-correction command sets the asymmetry correction time on a PTP interface.

The undo ptp asymmetry-correction command deletes the asymmetry correction time setting on a PTP interface.

By default, no asymmetry correction time is set.

Format

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

undo ptp asymmetry-correction

Parameters

Parameter Description Value
positive correction-value

Specifies a positive asymmetry correction value.

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

negative correction-value

Specifies a negative asymmetry correction value.

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

Views

100GE interface view, 10G LAN interface view, 25GE interface view, 400GE interface view, 40GE 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

Although the delay time for sending packets differs from that for receiving packets, PTP considers that the opposite paths have the same delay time. To compensate for the difference between the delay time for sending packets and the delay time for receiving packets, run the ptp asymmetry-correction command to set the asymmetry correction value. A PTP device automatically uses the asymmetry correction value in path delay calculation complying with the Pdelay or delay measurement mechanism.

Prerequisites

The ptpdelay-mechanism command has been run to enable a delay measurement mechanism on OC, BC, and TCandBC interfaces.

Precautions

This command is supported only by the admin VS.

Example

# Set the negative asymmetry correction value to 100 ns.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ptp asymmetry-correction negative 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >