How to serve multicast PTP

Default PTP Config:

# PTP Config example
      #- protocol:                 ptp
        #domain:                   0
        #serve_unicast:           true
        #max_unicast_subscribers: 0
        #serve_multicast:         true
        #server_only:             true
        #announce_interval:        1
        #sync_interval:            0
        #delayrequest_interval:    0
        #unicast_master_table:    ['1.2.3.4','2.3.4.5', '3.4.5.6']
        #delay_strategy:          e2e   # other options which can be used are: 'p2p'
        #hybrid_e2e:              false # Send delay requests as unicast (enterprise profile)
        #priority1:               128
        #priority2:               128
        #monitor_only:            false
        #use_layer2:              false      # Use ptp over ethernet instead of IP/UDP
        #interface:               enp2s0
        #profile:                 'G.8275.2' # other options which can be used are: 'G.8275.1', 'G.8265.1' and 'enterprise-draft'
        #logsource:               'Grandmaster Clock in NY4' # configurable name for source included in all logging records for source
        #asymmetry_compensation:  0 # In nanoseconds. Static compensation for know asymmetry (+/- as the case maybe)
        #max_packets_per_second:  0 # If inbound packet rate exceeds this a WRED algorithm is used

 

To configure a multicast PTP feed domain modify the below lines:

serve_multicast: true
server_only: true
interface: insert interface id

 

So the config will look like this:

# PTP Config example 
      - protocol: ptp 
        domain: 0
        serve_multicast: true 
        server_only: true
        interface: ens1