Configuration Guide
PTP Configuration Guide
39 min
introduction introduction the precision time protocol (ptp) is a protocol designed to achieve high precision clock synchronization in computer networks it was originally developed to meet the stringent timing requirements of applications in fields such as industrial automation, telecommunications, and finance the primary goal of ptp is to provide clock synchronization accuracy at the microsecond or even sub microsecond level within computer networks this high level of synchronization is critical in many domains, including high frequency trading systems, power system synchronization, and time stamping for scientific research equipment basic concepts basic concepts ptp domain ptp domain a network that applies the ptp protocol is called a ptp domain a network may contain multiple ptp domains, each of which is an independent ptp clock synchronization system within a single ptp domain, there is exactly one clock source, and all devices in the domain remain synchronized to this clock source clock node types clock node types the node in ptp domain is called clock node there are three clock node types defined by ieee 1588v2 oc(ordinary clock) oc(ordinary clock) only a single physical port participates in ptp time synchronization in a ptp domain the device synchronizes time from an upstream node or distributes time to downstream nodes through this port bc(boundary clock) bc(boundary clock) two or more physical ports may participate in ptp time synchronization in a ptp domain one port synchronizes time from an upstream device, while the remaining multiple ports distribute time to downstream devices additionally, when a clock node acts as a time source and simultaneously distributes time to downstream clock nodes through multiple ptp ports, it is also referred to as a bc tc(transparent clock) tc(transparent clock) tc does not synchronize time with any other device tc has multiple ptp ports and only forwards ptp messages between these ports, applying transit delay correction it does not synchronize time from any of its ports there are four clock node types defined by g8275 1 t gm(telecom grandmaster) t gm(telecom grandmaster) t gm can only act as a master, serving as a time source to provide timing t bc(telecom boundary clock) t bc(telecom boundary clock) t bc has multiple ptp ports one port synchronizes time from an upstream device, while the remaining multiple ports distribute time to downstream devices t tsc(telecom time slave clock) t tsc(telecom time slave clock) t tsc can only act as a slave, synchronizes time from an upstream node t tc(telecom transparent clock) t tc(telecom transparent clock) t tc does not synchronize time with any other device t tc has multiple ptp ports and only forwards ptp messages between these ports, applying transit delay correction it does not synchronize time from any of its ports there are three clock node types defined by g8275 2 t gm(telecom grandmaster) t gm(telecom grandmaster) t gm can only act as a master, serving as a time source to provide timing t bc p(telecom boundary clock for partial timing support) t bc p(telecom boundary clock for partial timing support) t bc p has multiple ptp ports one port synchronizes time from an upstream device, while the remaining multiple ports distribute time to downstream devices t tsc p(telecom time slave clock for partial timing support) t tsc p(telecom time slave clock for partial timing support) t tsc p can only act as a slave, synchronizes time from an upstream node ptp port ptp port a port on a device running the ptp protocol is called a ptp port ptp ports can be classified into the following three roles master port master port a port that distributes synchronized time, which can exist on a bc or an oc slave port slave port a port that receives synchronized time, which can exist on a bc or an oc passive port passive port a port that neither receives nor distributes synchronized time, serving as an idle standby port, available only on a bc master slave relationship master slave relationship the node devices within a ptp domain perform clock synchronization according to a specific master slave hierarchy the master slave relationship is relative a node that synchronizes time is called a slave node, and a node that distributes time is called a master node a single device may simultaneously synchronize time from an upstream node and distribute time to downstream nodes for a pair of clock nodes that are synchronizing with each other, the following master slave relationships apply the node that distributes synchronized time is called the master node, while the node that receives the synchronized time is called the slave node the clock on the master node is referred to as the master clock, and the clock on the slave node is referred to as the slave clock the port that distributes synchronized time is called the master port, and the port that receives synchronized time is called the slave port grandmaster clock grandmaster clock all clock nodes in a ptp domain are organized in a hierarchical structure, and the reference clock for the entire domain is the grandmaster clock (gmc) through the exchange of ptp messages among clock nodes, the time of the grandmaster clock is ultimately synchronized across the entire ptp domain, hence it is also referred to as the time source the grandmaster clock can be statically configured manually or dynamically elected using the best master clock (bmc) or alternate bmc algorithm how it works how it works bmc algorithm bmc algorithm in a ptp domain, the selection of the grandmaster clock and the establishment of port master slave relationships are both accomplished using the best master clock (bmc) algorithm the bmc algorithm compares datasets carried in announce messages exchanged among clock nodes to select the grandmaster clock and determine the state of each ptp port in 1588v2, the bmc algorithm comparison rules are as follows clock priority 1 clock priority 1 a smaller priority1 value indicates higher priority clock class clock class if priority1 values are equal, a smaller class value indicates higher priority clock accuracy clock accuracy if class values are equal, a smaller accuracy value indicates higher priority clock priority 2 clock priority 2 if accuracy values are equal, a smaller priority2 value indicates higher priority priority ranking order priority1 > class > accuracy > priority2 in g 8275 1 and g 8275 2, the alternate bmc algorithm comparison rules are as follows clock class clock class a smaller class value indicates higher priority clock accuracy clock accuracy if class values are equal, a smaller accuracy value indicates higher priority clock priority 2 clock priority 2 if accuracy values are equal, a smaller priority2 value indicates higher priority local clock priority local clock priority if priority2 values are equal, a smaller priority value indicates higher priority if local priorities are still equal, determine whether the clock class is less than or equal to 127 if the clock class is less than or equal to 127, in the absence of a superior clock node, two or more grandmaster clocks may be elected within the ptp domain slave nodes select the nearest grandmaster as their master, forming two separate spanning trees that do not exchange ptp messages with each other if the clock class is greater than 127, the clock with the smaller clockid wins priority ranking order class > accuracy > priority2 > priority ptp message type ptp message type ptp achieves master slave relationship establishment and time synchronization through message exchange between master and slave nodes the ptp message types are shown in the table below table 1 ptp message type table 1 ptp message type true 132,474left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type timestamp carrying method timestamp carrying method ptp calculates the path delay and time offset between master and slave devices by recording timestamps generated during message exchanges, thereby achieving time synchronization there are two timestamp carrying modes one step mode one step mode the sync and pdelay resp messages carry the timestamp of their own transmission time two step mode two step mode the sync and pdelay resp messages do not carry the timestamp of their transmission time; instead, the subsequent follow up and pdelay resp follow up messages carry the transmission timestamps in two step mode, the generation and announcement of time information are completed in two separate steps, which allows compatibility with devices that do not support timestamping the transmission time of sync and pdelay resp messages delay measurement method delay measurement method there are two methods for delay measurement e2e(end to end) e2e(end to end) calculate the time offset based on the overall path delay between master and slave clocks p2p(peer to peer) p2p(peer to peer) calculate the time offset based on the delay of each individual link between master and slave clocks the process of the e2e mechanism (two step mode) is shown in the figure the master clock sends a sync message to the slave clock at time t1 in two step mode, the slave clock records the time t2 after receiving the sync message the master clock sends a follow up message to the slave clock the slave clock obtains the transmission timestamp t1 of the sync message from the follow up message the slave clock sends a delay req message to the master clock the slave clock records the transmission timestamp t3 of the delay req message after receiving the delay req, the master clock sends a delay resp message to the slave clock the slave clock obtains the timestamp t4, indicating when the master clock received the delay req message, from the delay resp message at this point, the slave clock can use t1 to t4 to calculate the path delay and time offset path delay = \[(t2 – t1) + (t4 – t3)]/2 t2 = t1 + path delay + offset, offset = t2 t1 path delay = t2 t1 \[(t2 – t1) + (t4 – t3)]/2 = \[(t2 – t1) – (t4 – t3)]/2 the process of the p2p mechanism (two step mode) is shown in the figure at this point, the nodeb can use t1 to t4 to calculate the path delay path delay = \[(t2 – t1) + (t4 – t3)]/2 the clock offset of the slave clock relative to the master clock, offset = time when the slave clock receives the sync message – time when the master clock sends the sync message – cumulative one way delay of each link – total residence time of all tcs on the path configure ptp configure ptp enable ptp feature enable ptp feature table 2 enable ptp feature table 2 enable ptp feature true 251,248 5,106 5left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type configure ptp domain configure ptp domain table 3 configure ptp domain table 3 configure ptp domain true 156,139 16528925619835,310 8347107438017left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type configure clock parameters configure clock parameters table 4 configure clock parameters table 4 configure clock parameters true 163,120 72747747747748,322 27252252252254left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type enable ptp on the interface enable ptp on the interface table 5 enable ptp on the interface table 5 enable ptp on the interface true 262,200 27932960893855,143 72067039106145left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type configure delay measurement method configure delay measurement method table 6 configure delay measurement method table 6 configure delay measurement method true 251,187 5,167 5left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type note when ptp is enabled on multiple interfaces, the ptp delay mechanism on the interfaces must be consistent configure the message encapsulation mode configure the message encapsulation mode table 7 configure the message encapsulation mode table 7 configure the message encapsulation mode true 229,267 7581532866412,109 24184671335883left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type notes when the configured ptp profile is smpte 2059 2 , the available packet encapsulation format is {ipv4|ipv6} {multicast|unicast|mixed} the default format is ipv4 multicast when the configured ptp profile is 1588v2 , the available packet encapsulation format is {{ipv4 |ipv6} {multicast|unicast}|layer2} the default format is ipv4 multicast when the configured ptp profile is aes67 ,the available packet encapsulation format is ipv4 {multicast|unicast|mixed} the default format is ipv4 multicast when the configured ptp profile is g 8275 1 , the available packet encapsulation format is layer2 the default format is layer2 when the configured ptp profile is g 8275 2 , the available packet encapsulation format is {ipv4|ipv6}unicast the default format is ipv4 unicast only when the ptp transport is set to {ipv4 | ipv6} unicast and the port is slave port, the ptp unicast master address need to be configured when the transmission mode is unicast or mixed , the ptp source ip { a b c d | a b } need to be configured configure message interval parameters configure message interval parameters table 8 configure message interval parameters table 8 configure message interval parameters true 116,104,386left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type (optional)configure sm tlv (optional)configure sm tlv in the smpte 2059 2 standard, sm tlv (stream mapping type length value) is a format used to transmit timecode and synchronization information, enabling the delivery and management of time synchronization information in multi device and multi system environments to ensure precise synchronization among devices therefore, this function is only available when using the smpte 2059 2 profile enable sm tlv enable sm tlv after enabling sm tlv, the device supports handling of daylight saving time events when a bc receives daylight saving time information, it records the time jump, prepares in advance for the transition, performs the time adjustment when the designated time is reached, and forwards the message to the oc clock this ensures that during the start and end of daylight saving time, the system clock advances or retreats by one hour, preventing time inconsistencies in synchronization caused by time jumps daylight saving time, also known as "daylight saving time" or "summer time", is a system that artificially adjusts local time to conserve energy the uniform time used during this period is referred to as "daylight saving time" table 9 enable sm tlv table 9 enable sm tlv true 165,120 00663716814158,320 9933628318584left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type configure timecode parameters configure timecode parameters after enabling sm tlv, the default frame rate (default frame rates) can be configured on the gm, providing a timing reference that affects the synchronization of all devices as a relay device, the bc forwards sm tlv information to ensure smooth data flow throughout the ptp domain the oc receives the sm tlv data and applies the included timecode and synchronization information to maintain synchronization with the ptp domain table 10 configure timecode parameters table 10 configure timecode parameters true 268,227 65155487379724,110 34844512620276left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type display and maintenance display and maintenance table 11 display and maintenance table 11 display and maintenance true 176,241 54455445544556,188 45544554455444left #4283c7 unhandled content type left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left unhandled content type left unhandled content type left unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type left #d8e5f5 unhandled content type typical configuration example typical configuration example smpte multicast communication method smpte multicast communication method networking requirements in the network, switcha acts as the clock source and needs to synchronize time to switchc and switchd, with all three devices connected to switchb the customer has high requirements for time accuracy and requires the use of the smpte 2059 2 standard and ipv4 udp multicast communication mode, with one step timestamping and the e2e delay measurement mechanism procedure switcha configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 1 2/24 exit ! interface loopback 0 ip address 172 16 1 179/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step one step ptp clock id 000000 fffe 000179 ptp priority1 100 ptp class 200 ptp source ip 172 16 1 179 exit enable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable switchb configure interface ip and loopback0 ip interface ethernet 0/1 ip address 10 32 1 1/24 exit ! interface ethernet 0/2 ip address 10 32 2 1/24 exit ! interface ethernet 0/3 ip address 10 32 3 1/24 exit ! interface loopback 0 ip address 172 16 1 166/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode bc ptp clock step one step ptp clock id 000000 fffe 000166 ptp priority1 120 ptp source ip 172 16 1 166 exit enable ptp on the interface ! interface ethernet 0/1 ptp domain 127 ptp enable ! interface ethernet 0/2 ptp domain 127 ptp enable ! interface ethernet 0/3 ptp domain 127 ptp enable switchc configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 2 2/24 exit ! interface loopback 0 ip address 172 16 1 174/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step one step ptp clock id 000000 fffe 000174 ptp source ip 172 16 1 174 enable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable switchd configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 3 2/24 exit ! interface loopback 0 ip address 172 16 1 141/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step one step ptp clock id 000000 fffe 000141 ptp source ip 172 16 1 141 enable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable verify the configuration verfify ptp state on the switchb switchb# show ptp clock domain 127 profile smpte 2059 2 clock mode bc clock step one step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000166 local clock accuracy 0xfe local clock class 248 local clock priority1 120 local clock priority2 128 ports ethernet1,ethernet2,ethernet3 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 1 servo state locked offset to master 4 path delay 222 max steps removed 255 local time 1986040939445 verfify ptp state on the switchc switchc# show ptp clock domain 127 profile smpte 2059 2 clock mode oc clock step one step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000174 local clock accuracy 0xfe local clock class 248 local clock priority1 128 local clock priority2 128 ports ethernet32 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 1 servo state locked offset to master 8 path delay 244 max steps removed 255 local time 1986041830647 verfify ptp state on the switchd switchd# show ptp clock domain 127 profile smpte 2059 2 clock mode oc clock step one step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000141 local clock accuracy 0xfe local clock class 248 local clock priority1 128 local clock priority2 128 ports ethernet32 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 2 servo state locked offset to master 5 path delay 245 max steps removed 255 local time 1987152330444 smpte unicast communication method smpte unicast communication method networking requirements in the network, switcha acts as the clock source and needs to synchronize time to switchc and switchd, with all three devices connected to switchb the customer has high requirements for time accuracy and requires the use of the smpte 2059 2 standard and ipv4 udp unicast communication mode, with two step timestamping and the e2e delay measurement mechanism procedure switcha configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 1 2/24 exit ! interface loopback 0 ip address 172 16 1 179/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step two step ptp clock id 000000 fffe 000179 ptp priority1 100 ptp class 200 ptp source ip 172 16 1 179 exit enable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable ptp transport ipv4 unicast ptp source ip 10 32 1 2 switchb configure interface ip and loopback0 ip interface ethernet 0/1 ip address 10 32 1 1/24 exit ! interface ethernet 0/2 ip address 10 32 2 1/24 exit ! interface ethernet 0/3 ip address 10 32 3 1/24 exit ! interface loopback 0 ip address 172 16 1 166/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode bc ptp clock step two step ptp clock id 000000 fffe 000166 ptp priority1 120 ptp source ip 172 16 1 166 exit enable ptp on the interface ! interface ethernet 0/1 ptp domain 127 ptp enable ptp transport ipv4 unicast ptp source ip 10 32 1 1 ptp unicast master address 10 32 1 2 ! interface ethernet 0/2 ptp domain 127 ptp enable ptp source ip 10 32 2 1 ptp transport ipv4 unicast ! interface ethernet 0/3 ptp domain 127 ptp enable ptp source ip 10 32 3 1 ptp transport ipv4 unicast switchc configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 2 2/24 exit ! interface loopback 0 ip address 172 16 1 174/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step two step ptp clock id 000000 fffe 000174 ptp source ip 172 16 1 174 enable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable ptp source ip 10 32 2 2 ptp transport ipv4 unicast ptp unicast master address 10 32 2 1 switchd configure interface ip and loopback0 ip interface ethernet 0/32 ip address 10 32 3 2/24 exit ! interface loopback 0 ip address 172 16 1 141/32 exit configure ptp domain ! ptp domain 127 ptp profile smpte 2059 2 ptp mode oc ptp clock step two step ptp clock id 000000 fffe 000141 ptp source ip 172 16 1 141 ehable ptp on the interface ! interface ethernet 0/32 ptp domain 127 ptp enable ptp source ip 10 32 3 2 ptp transport ipv4 unicast ptp unicast master address 10 32 3 1 verify the configuration verfify ptp state on the switchb switchb# show ptp clock domain 127 profile smpte 2059 2 clock mode bc clock step two step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000166 local clock accuracy 0xfe local clock class 248 local clock priority1 120 local clock priority2 128 ports ethernet1,ethernet2,ethernet3 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 1 servo state locked offset to master 0 path delay 233 max steps removed 255 local time 2101144339563 verfify ptp state on the switchc switchc# show ptp clock domain 127 profile smpte 2059 2 clock mode oc clock step two step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000174 local clock accuracy 0xfe local clock class 248 local clock priority1 128 local clock priority2 128 ports ethernet32 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 1 servo state locked offset to master 3 path delay 244 max steps removed 255 local time 2101245256928 verfify ptp state on the switchd switchd# show ptp clock domain 127 profile smpte 2059 2 clock mode oc clock step two step dscp 56 source ip address 0 0 0 0 local clock identity 000000 fffe 000141 local clock accuracy 0xfe local clock class 248 local clock priority1 128 local clock priority2 128 ports ethernet32 grandmaster clock identity 000000 fffe 000179 grandmaster clock accuracy 0xfe grandmaster clock class 200 grandmaster clock priority1 100 grandmaster clock priority2 128 parent port identity 2 servo state locked offset to master 8 path delay 245 max steps removed 255 local time 2103456162289
