You can configure MAC or UDP encapsulation for 1588v2 messages based on the link type used for 1588v2 message transmission:
- MAC encapsulation: applies to Layer 2 link transmission.
- UDP encapsulation: applies to Layer 3 link transmission.
By default, the system uses multicast MAC encapsulation.
Devices that perform clock synchronization through 1588v2 messages must use the same encapsulation mode of 1588v2 messages. Otherwise, the devices cannot communicate.
You can configure unicast or multicast encapsulation for 1588v2 messages based on the topology of the master and slave devices:
- Unicast encapsulation: applies to point-to-point clock signal synchronization. This mode is used when a single device needs to synchronize with the master clock. If the destination MAC address or IP address of 1588v2 messages to be sent is set
to a unicast address, 1588v2 messages are encapsulated in unicast encapsulation mode.
- Multicast encapsulation: applies to point-to-multipoint clock signal synchronization. By default, devices that reside in the same PTP domain and use the same delay measurement mechanism join the same multicast group. Therefore, when multicast encapsulation
is used, the destination MAC address or IP address does not need to be configured for 1588v2 messages.