About PTP domains in a site

The controller lets you run up to four Precision Time Protocol (PTP) domains in a site, so that, for example, AES67 audio and SMPTE ST 2059-2 video can each synchronize to their own grandmaster clock over the same switches.

PTP clocks and domains

Precision Time Protocol (PTP, IEEE 1588) synchronizes the clocks of networked devices with sub-microsecond accuracy. Devices of different precision synchronize to one reference clock, the grandmaster clock, by exchanging time-stamped messages across the network.

A PTP network uses the following types of clock:

Table 1. PTP clock types
Clock What it does
Grandmaster clock (GM) The time source for the domain. All other clocks in the domain synchronize to it. Only one clock is the active grandmaster at a time, even if several can take the role.
Boundary clock (BC) A switch that synchronizes to the grandmaster on one port (the time-receiver port) and passes accurate time to the devices on its other ports (time-transmitter ports). Because it regenerates the time instead of passing messages through, timing errors do not build up across the network. A switch that can be a boundary clock can also become the grandmaster clock.
Transparent clock (TC) A switch that forwards PTP messages without taking part in the domain. It measures how long each message spends in the switch and adds that time to the message, so downstream devices can correct for it. A transparent clock works for every domain whose traffic crosses it. This is also called PTP residency time stamping.
Ordinary clock (OC) An end device with a single PTP port, such as an audio or video endpoint. It synchronizes to the domain, and some devices can also act as the grandmaster clock.

A PTP domain is a group of clocks that synchronize to one grandmaster clock. Each domain has a domain ID from 0 to 127, and clocks in one domain ignore the messages of other domains.

In each domain, the best master clock algorithm (BMCA) elects the grandmaster and builds the time-transmitter to time-receiver hierarchy beneath it. BMCA compares Priority 1 first, then clock quality, and then Priority 2. The lower value wins. Because of this, a switch can change from boundary clock to grandmaster clock, or back, when the clocks in the domain change.

How the controller manages PTP domains

The controller manages PTP domains for the whole site rather than for each switch. When you add or change a domain, the controller applies it to every participating switch in the site.

A site supports the following types of PTP domain:

  • VLAN-based domain: A domain that belongs to a network profile and uses the VLAN of that profile. The controller creates the domain when you add a network profile based on an SMPTE profile template, and removes the domain when you delete the network profile.
  • Non-VLAN domain: An untagged domain that does not belong to a network profile. You add and delete a non-VLAN domain on the PTP Domains page, and select its ports on each switch.

The following network profile templates create a VLAN-based PTP domain:

  • Audio Video SMPTE: All participating switches run as boundary clocks. You can also enable PTP TC on the remaining eligible switches.
  • Hybrid SMPTE AES67 Core and Audio AES67 Edge: SMPTE-capable core switches run as boundary clocks and the other eligible switches run as transparent clocks for AES67 audio.
  • Hybrid SMPTE ST2059-2 Core and Video Edge: SMPTE-capable core switches run as boundary clocks and the other eligible switches run as transparent clocks for SMPTE ST 2059-2 video.

PTP profiles

Each domain uses one PTP profile, which sets the default timing intervals for the domain:

  • Default: The default PTPv2 settings.
  • AES67: A profile for audio devices that use AES67.
  • SMPTE-2059-2: A profile for video devices that use SMPTE ST 2059-2.
  • AES-R16-2016: A profile that lets SMPTE and AES67 devices interoperate.

Several domains can use the same PTP profile, as long as each domain has its own domain ID and VLAN.

Rules for PTP domains in a site

  • A site supports up to four PTP domains. VLAN-based and non-VLAN domains count toward the same limit.
  • Each domain must use a domain ID that no other domain in the site uses.
  • Each VLAN-based domain must use a VLAN that no other domain in the site uses.
  • All switches in the site that support PTP boundary clock mode participate in every domain automatically. You do not select switches for a domain.
  • If the site includes an Align Controller, the Align Controller participates by default. You can exclude it when you add or change the network profile.
  • You cannot turn off PTP for a network profile that owns a domain. To remove the domain, delete the network profile.
  • You can change the domain ID of a VLAN-based domain. You cannot change the domain ID of a non-VLAN domain. Instead, delete the domain and add it again with the new domain ID.
Important: Changing the domain ID of a domain interrupts PTP on that domain while the switches apply the change. Devices that synchronize to the domain must also be set to the new domain ID.

Settings that apply to the whole switch

Most PTP settings apply to a single domain, such as the PTP profile, timing intervals, and Priority 1 and Priority 2. The following settings apply to all domains on a switch:

  • Source IP: The IP address that the switch uses for PTP messages.
  • Clock Operation Mode: One-step or two-step. With one-step, the switch adds the timestamp to the Sync message as the message leaves the port. With two-step, the switch sends the timestamp in a separate follow-up message.

You can change these settings on the PTP Domains page. When you change them for a switch, the change applies to every domain on that switch.

PTP domains that the controller did not create

A switch might already have PTP domains that were configured before you added it to the site, or that were configured from the AV UI or the CLI. The controller lists these domains on the PTP Domains page as not managed by the controller. For each domain, you can keep the domain and let the controller manage it, or remove it from the switch.

A switch supports up to four PTP domains, and domains that the controller did not create count toward that limit. If a switch has no free slot for a domain of the site, the controller removes one domain that it did not create from that switch, and then applies the site domain. The controller removes untagged domains first. It never removes a domain that matches a domain of the site.

Restrictions

  • PTP and AVB (gPTP) cannot run in the same site. If the site has a network profile based on an AVB profile template, you cannot add a PTP domain, and if the site has a PTP domain, you cannot add an AVB network profile.
  • PTP is not supported on stacked switches.
  • The following M4350 models support PTP boundary clock and grandmaster clock mode: M4350-8M2V, M4350-16M4V, M4350-24M4X4V, M4350-24F4X, M4350-16V4C, M4350-40X4C, M4350-40F4C, and M4350-16C.

Where to configure PTP domains

  • To add a VLAN-based domain, add a network profile based on an SMPTE profile template. For more information, see Add a PTP domain with a network profile.
  • To change domain settings, priorities, Source IP, or Clock Operation Mode, to resync a domain, or to add a non-VLAN domain, select Site Settings > PTP > PTP Domains.