Configuring Precision Time Protocol on SVI or Layer 3 Interface Procedure Configuring the Source IP on Precision Time Protocol To configure the source IP on PTP, perform this procedure: Procedure Configuring Precision Time Protocol (PTP) Configuring Precision Time Protocol on SVI or Layer 3 Interface Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ptp transport ipv4 udp Example: Device(config)# ptp transport ipv4 udp Configures IPv4 as the PTP transport mode.
Note Only IPv4 is supported as the PTP transport method for Layer 3 PTP. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 [no]ptp source {source-address | loopback |vlan} Example: Device(config)# ptp source source address Device(config)# ptp source loopback Device(config)# ptp source vlan Specifies the synchronization clock mode: • source address once configured, PTP messages in all the interfaces will carry this source ip.
• loopback PTP messages in all the interfaces will carry the IP that is configured on the loopback interface. • vlan PTP messages will carry the IP configured on the SVI interface corresponding to the port. Configuring Precision Time Protocol (PTP) 19