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).
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. |
- |
Usage scenario
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.