Skip to main content
sreddi
Staff
Staff
October 11, 2020

Technical Tip: How to configure switch PTP settings and policies

  • October 11, 2020
  • 0 replies
  • 4464 views
Description
For communicating timing precision between two ends, PTP transparent clock mode can be enabled to measure and adjust for packet delay.

It is supported on the following FortiSwitch:
3032E, 3032D, 1048E, 5xxD series, 4xxE series, 424D, 224E, and 224D.

This article describes how o configure FortiSwitch PTP settings and policies.

Scope
For version 6.4.2 and above.

Solution
On the FortiGate which is managing the compatible FortiSwitch, switch controller PTP settings and policies can be configured per VDOM.
A PTP policy can also be selected for each FortiSwitch port.

To configure the switch controller PTP settings.
# config switch-controller ptp settings
    set mode {default | transparent-e2e | transparent-p2p}
end
default: Disable the PTP function (Default) packets are forwarded with no action .
transparent-e2e: Enable end-to-end transparent clock.
transparent-p2p: Enable Peer-to-peer transparent clock.

To configure a switch controller PTP policy.

# config switch-controller ptp policy
    edit "default"
        set status enable
    next
end
To set the PTP policy on a switch port.
# config switch-controller managed-switch
    edit "S524D00000000000"
        # config ports
            edit "port1"
                set ptp-policy default
            next
        end
    next
end


Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!