cisco Catalyst 9300 — Precision Time Protocol and Software Defined Architecture Overlay

Precision Time Protocol Version 2 Message Types PTP messages are categorized into the following types: Event Messages are tagged with timestamps when data packets reach or leave a port and are used to calculate the link delay based on the timestamps. Messages: • Sync • Delay_Req • Pdelay_Req • Pdelay_Resp General Messages are not tagged with timestamps and are used to establish a master-slave hierarchy. General messages are listed below: • Announce • Follow_Up • Delay_Resp • Pdelay_Resp_Follow_Up Announce messages are used to establish the synchronization hierarchy. Sync, Delay_Req, Follow_Up, and Delay_Resp messages are used to synchronize ordinary and boundary clocks.

Pdelay_Req, Pdelay_Resp, and Pdelay_Resp_Follow_Up messages are used to measure the link delay in transparent clocks. The (Best Master Clock Algorithm (BMCA) elects the grandmaster clock and assign the ports as master or slave. Following this, all the master ports start sourcing the clock to the downstream slaves using the Sync and Follow_Up messages. The downstream slaves receive the clock and update their clock after computing the delay of the link, time offset, frequency offset and drift error parameters. The downstream slaves compute the link delay using one of the mechanisms.

End-to-End Delay Mechanism, on page 5 Peer-to-Peer Delay Mechanism, on page 6 Precision Time Protocol and Software Defined Architecture Overlay • Software Defined Architecture (SDA) fabric switches do not support PTP messages with hardware timestamp. • PTP clock accuracy and latency gets affected when overlay PTP messages are forwarded without hardware timestamp. PTP clock accuracy and latency gets affected as the number of hops increases. • Configure multicast protocols — IGMP and PIM to forward Layer 2, Layer 3 format of PTP messages in overlay. Configuring Precision Time Protocol (PTP) Precision Time Protocol Version 2 Message Types Configuring Precision Time Protocol (PTP) 4