ptp delay-mechanism

Function

The ptp delay-mechanism command configures the delay measurement mechanism on an ordinary clock (OC) interface, a boundary clock (BC) interface, or a transparent and boundary clock (TCandBC) interface.

The undo ptp delay-mechanism command restores the default delay measurement mechanism on an OC interface, a BC interface, or a TCandBC interface.

By default, an OC interface, a BC interface, or a TCandBC interface uses the Delay measurement mechanism.

Format

ptp delay-mechanism { delay | pdelay }

undo ptp delay-mechanism

Parameters

Parameter Description Value
delay

Enables the delay request-response mechanism, in which information about the clock and time is calculated based on the delay time of an entire link between a PTP device and a clock source.

-

pdelay

Enables the peer delay mechanism, in which information about the clock and time is calculated based on the delay time of each segment of the path between a PTP device and a clock source.

-

Views

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

Two devices exchange Announce packets to determine the master/slave relationship. The master device sends Sync packets to notify the slave device of time signal parameters and uses a delay measurement mechanism to achieve time signals accuracy.

Different delays on links deteriorate the accuracy of PTP time synchronization. PTP uses the delay measurement mechanism to correct time signals. A delay measurement process is implemented by sending delay measurement request packets and delay response packets. Either of the following parameters can be configured in the

ptp delay-mechanism command to enable a specific delay measurement mechanism:

  • delay: enables the delay request-response mechanism, in which information about the clock and time is calculated based on the delay of an entire link between the master and slave clocks. Only the slave clock sends Delay_Req packets to the master clock, and the master clock replies with Delay_Resp packets. Upon receipt, the slave clock uses information carried in Delay_Resp packets to correct time signals.
  • pdelay: enables the peer delay mechanism, in which information about the clock and time is calculated based on the delay time of each link along the path between the master and slave clocks. In this mode, the master and slave clocks can send Pdelay_Rep packets to each other and then correct time signals based on the Pdelay_Resp packets. Upon receipt of the responses, the slave or master clock uses information carried in Delay_Resp packets to correct time signals.

    The PDelay mechanism helps rapidly correct the difference between the delay time in opposite directions on the network, on which the master and slave clocks obtain the delay time in opposite directions.

    This command applies only to 1588v2 and SMPTE-2059-2.

Precautions

This command is supported only by the admin VS.

Both ends of a link must use the same delay measurement mechanism. For the E2ETC, E2ETCOC, P2PTC and P2PTCOC, the delay measurement mechanism has been configured by default. 1588v2 can be directly enabled on interfaces, and no other delay measurement mechanism can be configured. In the G.8275.1 mode, the delay recovery mechanism is delay by default and cannot be configured.

The GPS 3.0 module does not support this command.

Example

# Configure the Delay mechanism on GE 0/1/0 of a 1588v2 device.
<HUAWEI> system-view
[~HUAWEI] ptp enable
[*HUAWEI] ptp device-type bc
[*HUAWEI] commit
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ptp delay-mechanism delay
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >