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:
- Configure the global PTP settings.
By default, PTP is disabled. - Enable the PTP policy.
By default, the PTP policy is disabled. - 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