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.
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. |
- |
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: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.