< Home

ptp delay-mechanism

Function

The ptp delay-mechanism command configures the delay measurement mechanism applied on the interface of a PTP device.

The undo ptp delay-mechanism command deletes the delay measurement mechanism applied on the interface of the PTP device.

By default, the delay measurement mechanism is only configured on the P2P transparent clock (P2PTC), E2E transparent clock (E2ETC), P2P transparent clock and ordinary clock (P2PTCOC), and E2E transparent clock and ordinary clock (E2ETCOC).

Format

ptp delay-mechanism { delay | pdelay }

undo ptp delay-mechanism

Parameters

Parameter

Description

Value

delay

Indicates that the delay measurement mechanism applied on the interface is in Delay mode.

-

pdelay

Indicates that the delay measurement mechanism applied on the interface is in Pdelay mode.

-

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage scenario

PTP supports two delay measurement mechanisms:
  • Delay request-response end to end (E2E) mechanism: calculates the time difference based on the total delay of the link between the master and slave clocks.
  • Peer delay peer to peer (P2P) mechanism: calculates the time difference based on the delay of each link between the master and slave clocks.

In the P2P mechanism, the link delay of each interface must be measured separately. Different from the E2E mechanism, the P2P mechanism calculates and accumulates the forwarding delay and link delay to ensure accurate clock synchronization. If the master and slave clocks are far from each other and there are many TCs, the P2P mechanism will greatly reduce the clock synchronization efficiency and affect the clock synchronization effect. Therefore, when there is only one or two TCs, the P2P mechanism is recommended. When there are three or more TCs, the E2E mechanism is recommended.

Precautions

  • OC and BC interfaces must be configured with the delay measurement mechanism before PTP is enabled.

  • If the delay measurement mechanism is configured on an interface, to configure another delay measurement mechanism, you need to cancel the original configuration first.

  • The corresponding delay measurement mechanism is applied on the E2ETC, E2ETCOC, P2PTC, P2PTCOC by default and cannot be modified; therefore, PTP can be directly enabled on interfaces of these devices.

Example

# Configure the mode of the delay measurement mechanism of XGigabitEthernet0/0/1 on the PTP device as Delay.

<HUAWEI> system-view
[HUAWEI] ptp device-type bc
[HUAWEI] interface xgigabitethernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] ptp delay-mechanism delay 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >