Configuring the Default MDT

To configure the default MDT:

  1. On the parent virtual-router, configure an IP interface over the MDT interface, and make it a PIM interface.
    host1(config)#virtual-router pe1 host1:pe1(config)#ip multicast-routing host1:pe1(config)#interface loopback 0 host1:pe1(config-if)#ip address 1.1.1.1 255.255.255.255 host1:pe1(config-if)#ip pim sparse-mode host1:pe1(config-if)#exit
  2. Configure the VRF.
    host1(config)#virtual-router pe1 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)#exit
  3. To enable MDT, configure a GRE multicast tunnel interface (MTI) for VPN1.
    host1:pe1(config)#virtual-router default host1:(config)#interface tunnel gre:MTI-11 transport-virtual-router pe1 host1:(config-if)#tunnel source 1.1.1.1 host1:(config-if)#tunnel destination 233.3.1.1 host1:(config-if)#tunnel mdt host1:(config-if)#exit

    The tunnel mdt command enables the IP tunnel component to create an MDT interface.

  4. For the VRF, configure an IP interface on the MTI interface.
    host1(config)#virtual-router pe1 host1:pe1(config)#virtual-router pe1:pe13 host1:pe1:pe13(config)#ip multicast-routing host1:pe1:pe13(config)#interface loopback 0 host1:pe1:pe13(config-if)#ip address 1.1.1.1 255.255.255.255 host1:pe1:pe13(config-if)#exit

    Note: The IP address that you configure for the VRF must be identical to the IP address of the loopback interface in the parent virtual router.

  5. Configure the MTI interface in the VRF.
    host1:pe1:pe13(config)#interface tunnel gre:MTI-11 host1:pe1:pe13(config-if)#ip unnumbered loopback 0 host1:pe1:pe13(config-if)#ip pim sparse-mode host1:pe1:pe13(config-if)#exit

    Note: You can use the ip unnumbered loopback 0 command to configure the MTI interface on the VRF as an unnumbered interface, or the ip address 1.1.1.1 255.255.255.255 command to configure it as a numbered interface.

  6. Specify the GRE tunnel configuration for the parent virtual router.

    Note: The MDT interface in the parent virtual router must be unnumbered.

    host1:pe1(config)#interface tunnel gre:MTI-11.mdt host1:pe1(config-if)#ip unnumbered loopback 0 host1:pe1(config-if)#ip pim sparse-mode host1:pe1(config-if)#exit host1:pe1(config)#virtual-router default

Note: You can configure PIM on IPv4 and IPv6 interfaces. However, IPv6 does not support all PIM configuration options. For information about configuring PIM on IPv6 interfaces, see Configuring PIM for IPv6 Multicast.

Related Documentation