To configure data MDTs:
- host1(config)#profile pe13DataMdtMti
- host1(config-profile)#ip virtual-router "pe1:pe13"
- host1(config-profile)#ip unnumbered loopback
0
- host1(config-profile)#ip pim sparse-mode
- host1(config-profile)#profile pe1DataMdtMdt
- host1(config-profile)#ip virtual-router pe1
- host1(config-profile)#ip unnumbered loopback
0
- host1(config-profile)#ip pim sparse-mode
- host1(config-profile)#gre destination profile
pe13DataMdtProfile
virtual-router
pe1
- host1(config-dest-profile)#tunnel destination
subnet 233.3.0.0 255.255.0.0
- host1(config-dest-profile)#tunnel source 1.1.1.1
- host1(config-dest-profile)#tunnel mdt profile
pe1DataMdtMdt
- host1(config-dest-profile)#profile pe13DataMdtMti
- host1(config-dest-profile)#virtual-router
pe1
For more information about creating dynamic IP tunnels, see Configuring Dynamic IP Tunnels in the JUNOSe IP Services Configuration Guide.
- host1:pe1(config)#ip vrf pe13
- host1:pe1(config-vrf)#rd 100:13
- host1:pe1(config-vrf)#route-target both 100:3
- host1:pe1(config-vrf)#interface tunnel gre:MTI-13.mdt
- host1:pe1(config-if)# ip unnumbered loopback
0
- host1:pe1(config-if)# ip pim sparse-mode
- host1:pe1(config-if)#access-list pe13DataMdt
permit ip any 225.1.0.0 0.0.255.255
- host1:pe1(config)#route-map pe13MdtThresholds
permit 10
- host1:pe1(config-route-map)#match ip address
pe13DataMdtSend
- host1:pe1(config-route-map)#set threshold
0
- host1:pe1(config-route-map)#route-map pe13MdtThresholds
permit 20
- host1:pe1(config-route-map)#match ip address
pe13DataMdt
- host1:pe1(config-route-map)#ip pim group-address-pool
pe13DataMdtGroups 233.3.1.0 233.3.1.255
If the data MDTs are established using ASM, you must divide the range of available MDT P-Group addresses so that PEs source VPN multicasts. All VRFs in a PE draw from a single address pool that contains the range of group addresses assigned to that PE.
If the data MDTs are established using SSM, you can configure VRFs to transmit on a tunnel using the same MDT P-Group address. Each VRF transmits using a unique P-Source address; however, each data MDT created by the VRF must use a different P-Group address. There might be one sender data MDT and possibly many receiver data MDTs sharing an IP tunnel.
- For SSM, each PE can assign MDT P-Groups from the same
range, but the P-Group addresses must be administratively divided
among the VPNs.
- host1:pe1(config)#virtual-router pe1:pe13
- host1:pe1:pe13(config)#interface tunnel gre:MTI-13
transport-virtual-router pe1
- host1:pe1:pe13(config)#tunnel source 1.1.1.1
- host1:pe1:pe13(config)#tunnel destination
235.3.3.3
- host1:pe1:pe13(config)#tunnel mdt
- host1:pe1:pe13(config)#ip unnumbered loopback
0
- host1:pe1:pe13(config)#ip pim sparse-mode
- host1:pe1:pe13(config)#ip pim data-mdt
- host1:pe1:pe13(config-ip-pim-data-mdt)#tunnel
source 1.1.1.1
- host1:pe1:pe13(config-ip-pim-data-mdt)#tunnel
group-address-pool pe13DataMdtG$
- host1:pe1:pe13(config-ip-pim-data-mdt)#route-map
pe13MdtThresholds
ip pim
- host1(config-if)#ip pim sparse-dense-mode
ip pim data-mdt
- host1(config)#ip pim data-mdt
ip pim group-address-pool
- host1(config)#ip pim group-address-pool pe21DataMDT
232.1.0.0 232.2.255.255
mdt-data-delay
- host1(ip-pim-data-mdt-config)#mdt-data-delay
20
mdt-data-holddown
- host1(ip-pim-data-mdt-config)#mdt-data-holddown
200
mdt-data-timeout
- host1(ip-pim-data-mdt-config)#mdt-data-timeout
160
mdt-interval
- host1(ip-pim-data-mdt-config)#mdt-interval
80
set threshold
- host1(config)#set threshold 30
tunnel group-address-pool
- host1(ip-pim-data-mdt-config)#tunnel group-address-pool
dataMDT1