Example: Configure PTP in a multinode setup
The following example describes how to configure PTP in a multinode setup.
Ensure that you configure
VLT multicast routing. In this topology:
- CR1, CR2, AG1, AG2, AG3, and AG4 are multicast routers.
- CR1 and CR2 are the BSR and RP nodes.
- TR1 and TR2 are IGMP-enabled L2 nodes.
- OSPFv2 is the unicast routing protocol.
CR1 switch
Configure PTP globally.
CR1(config)# ptp clock boundary
CR1(config)# ptp local-priority 127
CR1(config)# ptp source ipv4 10.0.0.5
CR1(config)# ptp source ipv6 10:0:0::6
CR1(config)# ptp system-time enable
Configure PTP on the interfaces.
CR1(config)# interface ethernet 1/1/1:1
CR1(conf-if-eth1/1/1:1)# ptp enable
CR1(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/3:1
CR1(conf-if-eth1/1/3:1)# ptp enable
CR1(conf-if-eth1/1/3:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/9:1
CR1(conf-if-eth1/1/9:1)# ptp enable
CR1(conf-if-eth1/1/9:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/16:1
CR1(conf-if-eth1/1/16:1)# ptp enable
CR1(conf-if-eth1/1/16:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/17:1
CR1(conf-if-eth1/1/17:1)# ptp enable
CR1(conf-if-eth1/1/17:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/25:1
CR1(conf-if-eth1/1/25:1)# ptp enable
CR1(conf-if-eth1/1/25:1)# ptp transport ipv4 multicast
CR1(config)# interface ethernet 1/1/28:1
CR1(conf-if-eth1/1/28:1)# ptp enable
CR1(conf-if-eth1/1/28:1)# ptp vlan 1
CR1(conf-if-eth1/1/28:1)# ptp transport ipv4 unicast slave
CR1(conf-ethernet1/1/28:1-ptp-ipv4-slave)# master 172.16.10.11
CR1(conf-ethernet1/1/28:1-ptp-ipv4-slave)# source 172.16.10.5
CR2 switch
Configure PTP globally.
CR2(config)# ptp clock boundary
CR2(config)# ptp local-priority 2
CR2(config)# ptp source ipv4 10.0.0.6
CR2(config)# ptp source ipv6 10:0:0::6
CR2(config)# ptp system-time enable
Configure PTP on the interfaces.
CR2(config)# interface ethernet 1/1/3:1
CR2(conf-if-eth1/1/3:1)# ptp enable
CR2(conf-if-eth1/1/3:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/3:1
CR2(conf-if-eth1/1/3:1)# ptp enable
CR2(conf-if-eth1/1/3:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/8:1
CR2(conf-if-eth1/1/8:1)# ptp enable
CR2(conf-if-eth1/1/8:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/12:1
CR2(conf-if-eth1/1/12:1)# ptp enable
CR2(conf-if-eth1/1/12:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/13:1
CR2(conf-if-eth1/1/13:1)# ptp enable
CR2(conf-if-eth1/1/13:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/17:1
CR2(conf-if-eth1/1/17:1)# ptp enable
CR2(conf-if-eth1/1/17:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/25:1
CR2(conf-if-eth1/1/25:1)# ptp enable
CR2(conf-if-eth1/1/25:1)# ptp transport ipv4 multicast
CR2(config)# interface ethernet 1/1/28:2
CR2(conf-if-eth1/1/28:2)# ptp enable
CR2(conf-if-eth1/1/28:2)# ptp vlan 1
CR2(conf-if-eth1/1/28:2)# ptp transport ipv6 unicast slave
CR2(conf-ethernet1/1/28:2-ptp-ipv4-slave)# master 2001:200:1:1::99
CR2(conf-ethernet1/1/28:2-ptp-ipv4-slave)# source 2001:200:1:1::5
AG1 switch
Configure PTP globally.
AG1(config)# ptp clock boundary
AG1(config)# ptp source ipv4 10.0.0.1
AG1(config)# ptp source ipv6 10:0:0::1
AG1(config)# ptp system-time enable
Configure PTP on the interfaces.
AG1(config)# interface ethernet 1/1/1:1
AG1(conf-if-eth1/1/1:1)# ptp enable
AG1(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
AG1(config)# interface ethernet 1/1/1:3
AG1(conf-if-eth1/1/1:3)# ptp enable
AG1(conf-if-eth1/1/1:3)# ptp transport ipv4 multicast
AG1(config)# interface ethernet 1/1/5:3
AG1(conf-if-eth1/1/5:3)# ptp enable
AG1(conf-if-eth1/1/5:3)# ptp transport ipv4 multicast
AG1(config)# interface ethernet 1/1/7:4
AG1(conf-if-eth1/1/7:4)# ptp enable
AG1(conf-if-eth1/1/7:4)# ptp transport ipv4 multicast
AG1(config)# interface ethernet 1/1/9:1
AG1(conf-if-eth1/1/9:1)# ptp enable
AG1(conf-if-eth1/1/9:1)# ptp vlan 3002
AG1(conf-if-eth1/1/9:1)# ptp transport ipv6 unicast master
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200a
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200b
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200c
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200d
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200e
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::200f
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201a
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201b
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201c
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201d
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201e
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::201f
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2000
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2001
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2002
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2003
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2004
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2005
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2006
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2007
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2008
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2009
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2010
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2011
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2012
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2013
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2014
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2015
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2016
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2017
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2018
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2019
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2020
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2021
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2022
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2023
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2024
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2025
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2026
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# slave 2001:101:2::2027
AG1(conf-ethernet1/1/9:1-ptp-ipv6-master)# source 2001:101:2::1
AG1(config)# interface ethernet 1/1/17:1
AG1(conf-if-eth1/1/17:1)# ptp enable
AG1(conf-if-eth1/1/17:1)# ptp transport ipv4 multicast
AG1(config)# interface ethernet 1/1/19:4
AG1(conf-if-eth1/1/19:4)# ptp enable
AG1(conf-if-eth1/1/19:4)# ptp transport ipv4 multicast
AG2 switch
Configure PTP globally.
AG2(config)# ptp clock boundary
AG2(config)# ptp source ipv4 10.0.0.2
AG2(config)# ptp source ipv6 10:0:0::2
AG2(config)# ptp system-time enable
Configure PTP on the interfaces.
AG2(config)# interface ethernet 1/1/1:1
AG2(conf-if-eth1/1/1:1)# ptp enable
AG2(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
AG2(config)# interface ethernet 1/1/3:4
AG2(conf-if-eth1/1/3:4)# ptp enable
AG2(conf-if-eth1/1/3:4)# ptp transport ipv4 multicast
AG2(config)# interface ethernet 1/1/5:4
AG2(conf-if-eth1/1/5:4)# ptp enable
AG2(conf-if-eth1/1/5:4)# ptp transport ipv6 multicast
AG2(config)# interface ethernet 1/1/7:3
AG2(conf-if-eth1/1/7:3)# ptp enable
AG2(conf-if-eth1/1/7:3)# ptp transport ipv6 multicast
AG2(config)# interface ethernet 1/1/9:1
AG2(conf-if-eth1/1/9:1)# ptp enable
AG2(conf-if-eth1/1/9:1)# ptp vlan 3001
AG2(conf-if-eth1/1/9:1)# ptp transport ipv4 unicast master
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.0
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.1
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.2
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.3
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.4
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.5
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.6
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.7
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.8
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.9
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.10
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.11
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.12
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.13
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.14
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.15
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.16
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.17
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.18
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.19
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.20
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.21
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.22
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.23
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.24
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.25
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.26
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.27
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.28
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.29
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.30
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.31
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.32
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.33
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.34
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.35
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.36
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.37
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.38
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# slave 172.16.0.39
AG2(conf-ethernet1/1/9:1-ptp-ipv4-master)# source 172.16.0.2
AG2(config)# interface ethernet 1/1/17:4
AG2(conf-if-eth1/1/17:4)# ptp enable
AG2(conf-if-eth1/1/17:4)# ptp transport ipv6 multicast
AG2(config)# interface ethernet 1/1/19:3
AG2(conf-if-eth1/1/19:3)# ptp enable
AG2(conf-if-eth1/1/19:3)# ptp transport ipv4 multicast
TR1 switch
Configure PTP globally.
TR1(config)# ptp clock boundary
TR1(config)# ptp source ipv4 10.0.0.10
TR1(config)# ptp source ipv6 10:0:0::a
TR1(config)# ptp system-time enable
Configure PTP on the interfaces.
TR1(config)# interface ethernet 1/1/27:4
TR1(conf-if-eth1/1/27:4)# ptp enable
TR1(conf-if-eth1/1/27:4)# ptp transport ipv6 multicast
TR1(config)# interface ethernet 1/1/28:3
TR1(conf-if-eth1/1/28:3)# ptp enable
TR1(conf-if-eth1/1/28:3)# ptp transport ipv4 multicast
TR1(config)# interface ethernet 1/1/33
TR1(conf-if-eth1/1/33)# ptp enable
TR1(conf-if-eth1/1/33)# ptp vlan 1999
TR1(conf-if-eth1/1/33)# ptp transport ipv6 unicast master
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111a
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111b
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111c
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111d
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111e
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::111f
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1110
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1111
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1112
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1113
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1114
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1115
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1116
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1117
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1118
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# slave 2091:101:1::1119
TR1(conf-ethernet1/1/33-ptp-ipv6-master)# source 2091:101:1::1
TR1(config)# interface ethernet 1/1/39
TR1(conf-if-eth1/1/39)# ptp enable
TR1(conf-if-eth1/1/39)# ptp transport ipv4 multicast
TR1(config)# interface ethernet 1/1/46
TR1(conf-if-eth1/1/46)# ptp enable
TR1(conf-if-eth1/1/46)# ptp transport ipv4 multicast
AG3 switch
Configure PTP globally.
AG3(config)# ptp clock boundary
AG3(config)# ptp source ipv4 10.0.0.3
AG3(config)# ptp source ipv6 10:0:0::3
AG3(config)# ptp system-time enable
Configure PTP on the interfaces.
AG3(config)# interface ethernet 1/1/1:1
AG3(conf-if-eth1/1/1:1)# ptp enable
AG3(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
AG3(config)# interface ethernet 1/1/25:1
AG3(conf-if-eth1/1/25:1)# ptp enable
AG3(conf-if-eth1/1/25:1)# ptp transport ipv4 multicast
AG3(config)# interface ethernet 1/1/17:1
AG3(conf-if-eth1/1/17:1)# ptp enable
AG3(conf-if-eth1/1/17:1)# ptp transport ipv4 multicast
AG4 switch
Configure PTP globally.
AG4(config)# ptp clock boundary
AG4(config)# ptp source ipv4 10.0.0.4
AG4(config)# ptp source ipv6 10:0:0::4
AG4(config)# ptp system-time enable
Configure PTP on the interfaces.
AG4(config)# interface ethernet 1/1/1:1
AG4(conf-if-eth1/1/1:1)# ptp enable
AG4(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
AG4(config)# interface ethernet 1/1/17:1
AG4(conf-if-eth1/1/17:1)# ptp enable
AG4(conf-if-eth1/1/17:1)# ptp transport ipv4 multicast
AG4(config)# interface ethernet 1/1/19:1
AG4(conf-if-eth1/1/19:1)# ptp enable
AG4(conf-if-eth1/1/19:1)# ptp transport ipv4 multicast
TR2 switch
Configure PTP globally.
TR2(config)# ptp clock boundary
TR2(config)# ptp source ipv4 10.0.0.11
TR2(config)# ptp source ipv6 10:0:0::b
TR2(config)# ptp system-time enable
Configure PTP on the interfaces.
TR2(config)# interface ethernet 1/1/1:1
TR2(conf-if-eth1/1/1:1)# ptp enable
TR2(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
TR2(config)# interface ethernet 1/1/25:1
TR2(conf-if-eth1/1/25:1)# ptp enable
TR2(conf-if-eth1/1/25:1)# ptp transport ipv4 multicast