• Tap Aggregation PTP Sync & Transparent Clock (TC) PTP Multicast Configuration

 
 
Print Friendly, PDF & Email

 Description

This article covers the configuration required to run the PTP TC with multicast transport environment, and Tap Aggregation DUT time sync with PTP GM.

Platform Compatibility

  • DCS-7020
  • DCS-7280SE/ DCS-7500E
  • DCS-7280R/RX DCS-7500R/RX
  • DCS-7150
  • DCS-7050X/XX
  • DCS-7060X/XX

Topology Diagrams

 

 

Configuration

In this PTP implementation example, the NY1 will act as BC and NY4 as GM. Both are configured as PTP BC clocks but NY4 due to its lower Priority1 value will win the BCMA election and becomes the master. The NY2 and NY3 are configured as E2E TC clocks and will require PIM to forward the PTP messages generated by NY1 and NY2 (224.0.1.129) to reach each other. Once the the DUTs are configured the NY1 should be the slave & NY4 master clock. Finally we validate that NY1 will sync to NY4 for time.

  • All devices running software 4.23.0.1F
  • Configure NY1 & NY4 as PTP BC
  • Configure NY4 as GM by lowering the PTP Priority1 to 110
  • NY1 is configured in Tap Aggregation mode, and PTP port facing NY2 is configured  “no error disabled”.
  • Configure NY2 & NY3 as PTP E2ETC
  • Configure RP (Lo0 NY3) on NY2 & NY3 and enable PIM
  • Configure Static Joins on NY2 & NY3 interfaces facing NY1 and NY4.
  • Validate the time on NY1  it should be getting time from NY4

Notes

PTP TTL default value is “1” so any time if it planned to transport PTP over multiple hops (in our case it is multicast transport), it is required to increase the PTP TTL value (it depends on number of hops it will travel)  on both end devices (in our case it is NY1 & NY4) as the PTP messages are transported in both directions (From GM to BC, & BC to GM)– in our case it will NY1 (BC) & NY4(GM) .

It is important to identify the right interface for command static group – for Arista implementation, it should be higher IP address or higher DR priority. In our case, NY2 & NY3 interface (Ref DUT configuration) having higher IP address (.2).

 

NY1

show ptp masters

Parent Clock:

Parent Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Parent Port Number: 530

Parent IP Address: 10.2.104.1

Observed Parent Offset (log variance): N/A

Observed Parent Clock Phase Change Rate: N/A

Grandmaster Clock:

Grandmaster Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Grandmaster Clock Quality:

   Class: 248

   Accuracy: 0xfe

   OffsetScaledLogVariance: 0xffff

   Priority1: 110

   Priority2: 128

show runn sec ptp

ptp source ip 10.1.103.1

ptp ttl 6

ptp mode boundary

interface Ethernet23

   description Connection to NY2 interface "Ethernet3/3/1"

   no switchport

   ip address 10.1.103.1/24

   pim ipv4 sparse-mode

   ptp enable

show runn sec pim

interface Ethernet23

   description Connection to NY2 interface "Ethernet3/3/1"

   no switchport

   ip address 10.1.103.1/24

   pim ipv4 sparse-mode

   ptp enable

router pim sparse-mode

   ipv4

      register local-interface Ethernet23

show ptp

PTP Mode: Boundary Clock

PTP Profile: Default ( IEEE1588 )

Clock Identity: 0x00:1c:73:ff:ff:1e:7a:68

Grandmaster Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Number of slave ports: 1

Number of master ports: 0

Slave port: Ethernet23

Offset From Master: 10

Mean Path Delay (nanoseconds): 0

Steps Removed: 1

Skew (estimated local-to-master clock frequency ratio): 0.999948356544

Last Sync Time: 05:17:49 UTC Nov 07 2019

Current PTP System Time: 05:17:49 UTC Nov 07 2019

   Interface       State       Transport    Delay

                                            Mechanism

--------------- ----------- --------------- ---------

   Et23            Slave       ipv4         e2e


show version

Arista DCS-7150S-24-F

Hardware version:    00.01

Serial number:       JPE12233271

System MAC address:  001c.731e.7a68

Software image version: 4.23.0.1F-2GB

Architecture:           i686

Internal build version: 4.23.0.1F-2GB-13860745.42301F

Internal build ID:      fe29d31c-cad4-499c-938c-94710f5fd99e

Uptime:                 1 weeks, 0 days, 2 hours and 58 minutes

Total memory:           4009188 kB

Free memory:            2633132 kB

NY2

show runn sec ptp

ptp mode e2etransparent

interface Ethernet3/3/1

   description to NY1

   no switchport

   ip address 10.1.103.2/24

   ip igmp static-group 224.0.1.129 10.2.104.1

   pim ipv4 sparse-mode

   ptp enable

interface Ethernet3/3/2

   description to NY3

   load-interval 5

   no switchport

   ip address 10.1.104.1/24

   ip ospf area 0.0.0.0

   pim ipv4 sparse-mode

   ptp enable 

 show runn sec pim

interface Ethernet3/3/1

   description to NY1

   no switchport

   ip address 10.1.103.2/24

   ip igmp static-group 224.0.1.129 10.2.104.1

   pim ipv4 sparse-mode

   ptp enable

interface Ethernet3/3/2

   description to NY3

   load-interval 5

   no switchport

   ip address 10.1.104.1/24

   ip ospf area 0.0.0.0

   pim ipv4 sparse-mode

   ptp enable

router pim sparse-mode

   ipv4

      rp address 10.0.1.104

show runn sec ospf

router ospf 100

   passive-interface Loopback0

   redistribute connected

   network 10.1.103.0/24 area 0.0.0.0

   network 10.1.104.0/24 area 0.0.0.0

   max-lsa 12000

show version

Arista DCS-7504

Hardware version:    02.00

Serial number:       HSH14085036

System MAC address:  001c.733c.e446

Software image version: 4.23.0.1F

Architecture:           i686

Internal build version: 4.23.0.1F-13860745.42301F

Internal build ID:      fe29d31c-cad4-499c-938c-94710f5fd99e

Uptime:                 1 weeks, 0 days, 2 hours and 55 minutes

Total memory:           16405664 kB

Free memory:            12269456 kB

show ip mroute

PIM Bidirectional Mode Multicast Routing Table

RPF route: U - From unicast routing table

           M - From multicast routing table

PIM Sparse Mode Multicast Routing Table

Flags: E - Entry forwarding on the RPT, J - Joining to the SPT

    R - RPT bit is set, S - SPT bit is set, L - Source is attached

    W - Wildcard entry, X - External component interest

    I - SG Include Join alert rcvd, P - (*,G) Programmed in hardware

    H - Joining SPT due to policy, D - Joining SPT due to protocol

    Z - Entry marked for deletion, C - Learned from a DR via a register

    A - Learned via Anycast RP Router, M - Learned via MSDP

    N - May notify MSDP, K - Keepalive timer not running

    T - Switching Incoming Interface, B - Learned via Border Router

RPF route: U - From unicast routing table

           M - From multicast routing table

224.0.1.129

  10.1.103.1, 7d2h, flags: SL

    Incoming interface: Ethernet3/3/1

    RPF route: [U] 10.1.103.0/24 [0/1] via 10.1.103.1

    Outgoing interface list:

      Register

  10.2.104.1, 7d2h, flags: S

    Incoming interface: Ethernet3/3/2

    RPF route: [U] 10.2.104.0/24 [110/20] via 10.1.104.2

    Outgoing interface list:

      Ethernet3/3/1

NY3

show ver

Arista DCS-7150S-24-F

Hardware version:    00.00

Serial number:       JAS12170007

System MAC address:  001c.7300.4488

Software image version: 4.23.0.1F-2GB

Architecture:           i686

Internal build version: 4.23.0.1F-2GB-13860745.42301F

Internal build ID:      fe29d31c-cad4-499c-938c-94710f5fd99e

Uptime:                 0 weeks, 2 days, 14 hours and 46 minutes

Total memory:           4009188 kB

Free memory:            2670060 kB




show runn sec ptp

ptp mode e2etransparent

interface Ethernet23

   description Connection to NY2 interface "Ethernet3/3/2"

   no switchport

   ip address 10.1.104.2/24

   pim ipv4 sparse-mode

   ptp enable

interface Ethernet24

   description Connection to NY4 interface "Ethernet18/2"

   no switchport

   ip address 10.2.104.2/24

   ip igmp static-group 224.0.1.129

   pim ipv4 sparse-mode

   ptp enable


show runn sec ospf

router ospf 100

   passive-interface Loopback0

   network 10.1.104.0/24 area 0.0.0.0

   network 10.2.104.0/24 area 0.0.0.0

   max-lsa 12000

show runn sec pim

interface Ethernet23

   description Connection to NY2 interface "Ethernet3/3/2"

   no switchport

   ip address 10.1.104.2/24

   pim ipv4 sparse-mode

   ptp enable

interface Ethernet24

   description Connection to NY4 interface "Ethernet18/2"

   no switchport

   ip address 10.2.104.2/24

   ip igmp static-group 224.0.1.129

   pim ipv4 sparse-mode

   ptp enable

router pim sparse-mode

   ipv4

      rp address 10.0.1.104

show ip mroute

PIM Bidirectional Mode Multicast Routing Table

RPF route: U - From unicast routing table

           M - From multicast routing table

PIM Sparse Mode Multicast Routing Table

Flags: E - Entry forwarding on the RPT, J - Joining to the SPT

    R - RPT bit is set, S - SPT bit is set, L - Source is attached

    W - Wildcard entry, X - External component interest

    I - SG Include Join alert rcvd, P - (*,G) Programmed in hardware

    H - Joining SPT due to policy, D - Joining SPT due to protocol

    Z - Entry marked for deletion, C - Learned from a DR via a register

    A - Learned via Anycast RP Router, M - Learned via MSDP

    N - May notify MSDP, K - Keepalive timer not running

    T - Switching Incoming Interface, B - Learned via Border Router

RPF route: U - From unicast routing table

           M - From multicast routing table

224.0.1.129

  0.0.0.0, 2d0h, RP 10.0.1.104, flags: W

    Incoming interface: Register

    Outgoing interface list:

      Ethernet24

  10.1.103.1, 1d14h, flags: JNCEH

    Incoming interface: Register

    Outgoing interface list:

      Ethernet24

  10.2.104.1, 2d0h, flags: SLN

    Incoming interface: Ethernet24

    RPF route: [U] 10.2.104.0/24 [0/1] via 10.2.104.1

    Outgoing interface list:

      Ethernet23




show runn int lo0

interface Loopback0

   ip address 10.0.1.104/32

NY4

show ver

Arista DCS-7260CX3-64-F

Hardware version:    11.03

Serial number:       JPE18372884

System MAC address:  985d.8222.9eb9

Software image version: 4.23.0.1F

Architecture:           i686

Internal build version: 4.23.0.1F-13860745.42301F

Internal build ID:      fe29d31c-cad4-499c-938c-94710f5fd99e

Uptime:                 1 weeks, 0 days, 2 hours and 44 minutes

Total memory:           8171336 kB

Free memory:            6001844 kB


show ptp

PTP Mode: Boundary Clock

PTP Profile: Default ( IEEE1588 )

Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Grandmaster Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Number of slave ports: 0

Number of master ports: 1

Mean Path Delay (nanoseconds): 0

Steps Removed: 0

Skew (estimated local-to-master clock frequency ratio): 1.0

   Interface       State        Transport    Delay

                                             Mechanism

--------------- ------------ --------------- ---------

   Et18/2          Master       ipv4         e2e


show runn sec ptp

ptp source ip 10.2.104.1

ptp priority1 110

ptp ttl 6

ptp mode boundary

interface Ethernet18/2

   description NY3 et24

   no switchport

   ip address 10.2.104.1/24

   pim ipv4 sparse-mode

   ptp enable

show runn sec pim

!

interface Ethernet18/2

   description NY3 et24

   no switchport

   ip address 10.2.104.1/24

   pim ipv4 sparse-mode

   ptp enable

show runn sec opsf

DC1-SP02#show ver

Arista DCS-7260CX3-64-F

Hardware version:    11.03

Serial number:       JPE18372884

System MAC address:  985d.8222.9eb9

Software image version: 4.23.0.1F

Architecture:           i686

Internal build version: 4.23.0.1F-13860745.42301F

Internal build ID:      fe29d31c-cad4-499c-938c-94710f5fd99e

Uptime:                 1 weeks, 0 days, 2 hours and 46 minutes

Total memory:           8171336 kB

Free memory:            6003656 kB

DC1-SP02#show runn sec ptp

ptp source ip 10.2.104.1

ptp priority1 110

ptp ttl 6

ptp mode boundary

!

interface Ethernet18/2

   description NY3 et24

   no switchport

   ip address 10.2.104.1/24

   pim ipv4 sparse-mode

   ptp enable

show ptp masters

Parent Clock:

Parent Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Parent Port Number: 0

Parent IP Address: N/A

Observed Parent Offset (log variance): N/A

Observed Parent Clock Phase Change Rate: N/A

Grandmaster Clock:

Grandmaster Clock Identity: 0x98:5d:82:ff:ff:22:9e:b9

Grandmaster Clock Quality:

   Class: 248

   Accuracy: 0xfe

   OffsetScaledLogVariance: 0xffff

   Priority1: 110

   Priority2: 128




Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: