PTP Implementation and Troubleshooting
Book Now - 2 Delivery Methods Available:Classroom Virtual Classroom Private Group - Virtual Self-Paced Online
The synchronization of data networks has been of critical importance from the very beginning of the digitization of network communications. Mobile cellular networks, satellites, television head-end services and Optical Fibre Communications Transports have all depended upon good synchronization. As data rates and distances increase the precision of synchronization must be improved. Also as we link different technologies together and group them into larger and more complex networks synchronization across networks become important too.
When Internet services started carrying time Network Time Protocol (NTP) provided and mechanism which allowed time to be carried in a uniform way through the Internet over asynchronous as well as synchronous networks. This enabled accuracy of timing to be improved across the world with precision of a few milliseconds. While this was an important step and provided accurate time synchronization for most business applications, with increases in technology speed and many real-time applications coming online greater precision has become necessary. This is particularly important when network speed start to reach 10 Gbit/s and above, when trading applications need to achieve billions of transactions per second or UHD video applications need to synchronize individual lines or pixels of a picture.
Once we used to provide timing trunks to each individual network component on a point to point basis. This is complex and very expensive as network now stretch across the world. Today we need to carry a master clock signal through multiple network components which may each introduce delay and recover and further relay the signal compensating for the inevitable delays along the way.
IEEE 1588, Precision Time Protocol (PTP) was designed to achieve precision timing and to meet the new set of modern synchronization needs. The difference between PTPv1 and PTPv2 will be studied. Hands-on exercises will focus on IEEE Std. 1588-2008, PTP version 2, its configuration on systems and its management using RFC 8173 PTP version 2 MIB. Hands-on exercises will include configuring Master and slave clocks, running PTP over Multicast and unicast operation and analysis of captured PTP traffic in class and from live systems where available.
This course is designed to provide a good understanding of the problems in providing accurate time synchronization, describe the evolution of PTP from the roots of NTP and compare the functions of NTP with PTP versions 1 and the latest version 2 implementations.
In-class exercises will be based upon laptop software implementations of PTPd open source code. Students will configure the range of different kinds of PTP clocks - Grandmaster (GM), Boundary Clock (BC) and Ordinary Clocks (OC). The way clocks are selected in PTP and NTP will be compared and the protocol exchanges analysed using WireShark protocol analysers. Configurations that allow the compensation for delays will be studied and the integration of NTP and PTP networks considered. Configurations will include delivery of timing using Multicast services and also unicast services.
In real operational networks failures occur from time to time and this can lead to drift and inaccuracy of time. The course will teach how to detect and troubleshoot problems, consider how to correct the inaccuracies and recover from these situations in a controlled manner. Students will monitor how the best Master clock is selected from a group by attaching their configured Master, and Slave clocks to a common network by analysing the resultant traffic using WireShark and monitoring timing performance.
Multicast video running over Real-time Transport Protocol (RTP) is used in modern IPTV Head-ends. Generated IPTV traffic will be used to demonstrate the carriage of time clocks in such environments and hands-on exercises will be used to identify the accuracy of timing on both lightly loaded and heavily loaded segments. The impact of relaying streams though switches with varying loading and thus varying delay will be studied hands-on and the performance of PTP modules monitored. The impact of failing switches and re-routing traffic will be studied and methods of detecting and correct problems studied.
- Identify the need for precision timing
- Describe the evolution of Precision Timing Protocol from NTP
- Describe in detail the different modes of operation of PTP
- Identify how PTP clocks are configured and managed
- Design clock synchronization systems for accuracy and reliability
- Analyse PTP traffic
- Identify how to troubleshoot clock failure and security
This course is intended for engineers, service designers, developers, systems engineers and troubleshooting technicians involved in the development and support for IPTV Head-ends, 4G and 5G Mobile services, optical telecommunications and satellite systems that require precise timing systems. Hands-on exercises will use Windows based PCs or laptops deploying Virtual Machine environments to build different kinds of PTP clocks. They will use GPS and other Master clock systems in order to compare the accuracy and effectiveness of different kinds of PTP clocks. They will learn how to configure Master, Boundary and Slave clocks in Hands-on class exercises, as well as using an Internet Simulator to test performance under controlled fault conditions. Exercises will be run over an in class LANs to test performance and troubleshoot typical faults. Attendees will be given an opportunity to connect their own Windows 10 laptop in order to run the hands-on exercises and build their own clock systems.
The Need for Time Synchronization (5 topics)
- Applications that require time and timing
- Optical Networks
- Mobile Cellular Networks
- TV Head-ends
- Satellite Systems
Network Time Protocol and How it Works (7 topics)
- Evolutions of NTP RFC 5905
- Defining time
- Mapping ticks to real time of day
- The NTP Protocol Data Units
- Identifying Clocks
- Securing communications across the Internet
- Hands-on Exercise monitoring NTP Protocol Data Units Synchronizing time
IEEE 1588 Precision Time Protocol (12 topics)
- Evolution of PTP from NTP
- PTPv1 and PTPv2 Compared
- Components of a PTP System
- Sources and Source Selection
- Best Master Clock (BMC) algorithm
- PTP Synchronization
- Synchronization Accuracy
- Asymmetry in Network Delay
- Time stamping and Time stamping Errors
- PTP Domains
- Combing NTP and PTP
- RFC 8173 PTP version 2 MIB
Configuring Clock Types Hands-on (12 topics)
- Open Source Implementations within Linux
- Installing Virtual Box
- Configuration files
- Master Configuration
- Slave Configuration
- Log files and analysing performance
- Running Master/Slave Configuration over UDP Unicast
- Grand Master Configuration
- Displaying available sources
- Ptpd tools
- Monitoring Clock accuracy of a PTP implementation Hands-on
- Analyzing PTP Protocol Data Unit hands-on with WireShark
Best Master Clock Selection Hands-on (7 topics)
- PTP Best Master Clock Selection Algorithm
- Types of clock defined in PTP
- Clock Accuracy
- Comparing different kinds of Master Clock
- Construction of GPS Clocks
- Using GPS clock as Grand Master
- Controlling the selection of the Grand Master Clock
Multiple Domain Systems Hands-on (3 topics)
- Why multiple domains are needed
- Hands-on building a boundary clock
- Building a system with multiple domains
Clock Failure and Recovery Hands-on (3 topics)
- Troubleshooting Failures and Drift
- Detecting clock failure Hands-on
- Addressing and routing problems and their recovery Hands-on
Designing Clock Synchronization Systems (7 topics)
- Designing for clock accuracy
- Designing for reliability
- Designing for integration with Internet NTP services
- PTP Security Issues
- Designing to minimise DoS probability
- Managing PTP using PTP MIB
- Using SNMP for Management Hands-on
PTP Implementation Analysis (7 topics)
- Identifying Relationships between devices
- Verifying sources
- Causes of incorrect time
- Leap years and leap seconds
- Mapping to local time zones, daylight saving and daily life
- Case studies example PTP configuration workshop on Your configuration
- Analysing PTP traffic captured from classroom systems and live systems where available
The course will use Windows 10 laptop computers each with at least 8 GBytes of memory, a Ethernet Gigabit interface and at least one USB interface through which the required software will be loaded. Students must be familiar with Windows 10, have administrator rights over the laptop used and be able to configure firewalls and any antivirus software used. They must also have a knowledge of Wireshark troubleshooting such as that obtained by attending “Hands-on Troubleshooting IPTV Inside The Head-end”. No prior knowledge of PTP, Linux or Virtual Box is required.
The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor .
Hands-on Troubleshooting IPTV Inside The Head-end
This 2-day course provides an in depth analysis the key protocols found in IPTV Headends.
Please select from the dates below to make an enquiry or booking.
Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.
Virtual Classroom (Bangalore)
Virtual Classroom (Dubai)
Virtual Classroom (London)
Virtual Classroom (Reston, VA)
Virtual Classroom (Singapore)