Fortinet black logo

Administration Guide

Configuring PTP transparent-clock mode

Copy Link
Copy Doc ID 0f66c6af-cee6-11eb-97f7-00505692583a:163704
Download PDF

Configuring PTP transparent-clock mode

Use Precision Time Protocol (PTP) transparent-clock mode to measure the overall path delay for packets in a network to improve the time precision. There are two transparent-clock modes:

  • End-to-end measures the path delay for the entire path
  • Peer-to-peer measures the path delay between each pair of nodes

Use the following steps to configure PTP transparent-clock mode:

  1. Configure the global PTP settings.
    By default, PTP is disabled.
  2. Enable the PTP policy.
    By default, the PTP policy is disabled.
  3. Apply the PTP policy to a port.

To configure the global PTP settings:

config switch ptp settings

set mode {disable | transparent-e2e | transparent-p2p}

end

To enable the PTP policy:

config switch ptp policy

edit {default | <policy_name>}

set status {enable | disable}

next

end

To apply the PTP policy to a port:

config switch interface

edit <port_name>

set ptp-policy {default | <policy_name>}

next

end

For example:

config switch ptp settings

set mode transparent-e2e

end

config switch ptp policy

edit default

set status enable

next

end

config switch interface

edit port12

set ptp-policy default

next

end

Configuring PTP transparent-clock mode

Use Precision Time Protocol (PTP) transparent-clock mode to measure the overall path delay for packets in a network to improve the time precision. There are two transparent-clock modes:

  • End-to-end measures the path delay for the entire path
  • Peer-to-peer measures the path delay between each pair of nodes

Use the following steps to configure PTP transparent-clock mode:

  1. Configure the global PTP settings.
    By default, PTP is disabled.
  2. Enable the PTP policy.
    By default, the PTP policy is disabled.
  3. Apply the PTP policy to a port.

To configure the global PTP settings:

config switch ptp settings

set mode {disable | transparent-e2e | transparent-p2p}

end

To enable the PTP policy:

config switch ptp policy

edit {default | <policy_name>}

set status {enable | disable}

next

end

To apply the PTP policy to a port:

config switch interface

edit <port_name>

set ptp-policy {default | <policy_name>}

next

end

For example:

config switch ptp settings

set mode transparent-e2e

end

config switch ptp policy

edit default

set status enable

next

end

config switch interface

edit port12

set ptp-policy default

next

end