host1(config-if)#tunnel source 2.2.2.2
host1(config-if)#tunnel destination 235.1.1.1
host1(config-if)#tunnel mdt
host1(config-if)#exit
host1(config)#
7. Configure the GRE tunnel for VPN2
host1(config)#interface tunnel gre:MTI-22 transport-virtual-router PE2
host1(config-if)#tunnel source 2.2.2.2
host1(config-if)#tunnel destination 235.1.1.2
host1(config-if)#tunnel mdt
host1(config-if)#exit
host1(config)#
8. Configure the IP interface (Tv) in PE2:CE1 as a numbered or unnumbered PIM
sparse-mode interface. Use the same address as the loopback interface, Lp in the
parent router, PE2.
host1(config)#virtual-router PE2:CE1
host1:PE2:CE1(config)#interface tunnel gre:MTI-21
host1:PE2:CE1(config-if)#ip address 2.2.2.2 255.255.255.255
host1:PE2:CE1(config-if)#ip pim sparse-mode
host1:PE2:CE1(config-if)#exit
host1:PE2:CE1#
9. Configure the IP interface (Tv) in PE2:CE2 as a numbered or unnumbered PIM
sparse-mode interface. Use the same address as the loopback interface, Lp in the
parent router, PE2.
host1(config)#virtual-router PE2:CE2
host1:PE2:CE2(config)#interface loopback 0
host1:PE2:CE2(config-if)#ip address 2.2.2.2 255.255.255.255
host1:PE2:CE2(config-if)#exit
host1:PE2:CE2(config)#
host1:PE2:CE2(config)#interface tunnel gre:MTI-22
host1:PE2:CE2(config-if)#ip unnumbered loopback 0
host1:PE2:CE2(config-if)#ip pim sparse-mode
host1:PE2:CE2(config-if)#exit
host1:PE2:CE2#
10. Configure the Tp interfaces in the parent router, PE2, as unnumbered PIM
sparse-mode interfaces tied to the loopback interface, Lp.
host1(config)#virtual-router PE2
host1: PE2(config)#interface tunnel gre:MTI-21.mdt
host1:PE2(config-if)#ip unnumbered loopback 0
host1:PE2(config-if)#ip pim sparse-mode
host1:PE2(config-if)#exit
host1:PE2(config)#
host1:PE2(config)#interface tunnel gre:MTI-22.mdt
host1:PE2(config-if)#ip unnumbered loopback 0
host1:PE2(config-if)#ip pim sparse-mode
host1:PE2(config-if)#exit
host1:PE2(config)#
tunnel mdt
95Copyright © 2010, Juniper Networks, Inc.
Chapter 3: Configuring PIM for IPv4 Multicast