![]()
|
Configuring the Default MDT
To configure the default Multicast Distribution Trees (MDT):
- On the parent virtual-router, configure an IP interface over the MDT interface, and make it a Protocol Independent Multicast (PIM) interface.
host1(config)#virtual-router pe1host1:pe1(config)#ip multicast-routinghost1:pe1(config)#interface loopback 0host1:pe1(config-if)#ip address 1.1.1.1 255.255.255.255host1:pe1(config-if)#ip pim sparse-modehost1:pe1(config-if)#exit- Configure the VPN Routing or Forwarding instance (VRF).
host1(config)#virtual-router pe1host1:pe1(config)#ip vrf pe13host1:pe1(config-vrf)#rd 100:13host1:pe1(config-vrf)#route-target both 100:3host1:pe1(config-vrf)#exit- To enable MDT, configure a generic routing encapsulation (GRE) Multicast Tunnel Interface (MTI) for VPN1.
host1:pe1(config)#virtual-router defaulthost1:(config)#interface tunnel gre:MTI-11 transport-virtual-router pe1host1:(config-if)#tunnel source 1.1.1.1host1:(config-if)#tunnel destination 233.3.1.1host1:(config-if)#tunnel mdthost1:(config-if)#exitThe tunnel mdt command enables the IP tunnel component to create an MDT interface.
- For the VRF, configure an IP interface on the MTI interface.
host1(config)#virtual-router pe1host1:pe1(config)#virtual-router pe1:pe13host1:pe1:pe13(config)#ip multicast-routinghost1:pe1:pe13(config)#interface loopback 0host1:pe1:pe13(config-if)#ip address 1.1.1.1 255.255.255.255host1: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.
- Configure the MTI interface in the VRF.
host1:pe1:pe13(config)#interface tunnel gre:MTI-11host1:pe1:pe13(config-if)#ip unnumbered loopback 0host1:pe1:pe13(config-if)#ip pim sparse-modehost1:pe1:pe13(config-if)#exit
- Specify the GRE tunnel configuration for the parent virtual router.
host1:pe1(config)#interface tunnel gre:MTI-11.mdthost1:pe1(config-if)#ip unnumbered loopback 0host1:pe1(config-if)#ip pim sparse-modehost1:pe1(config-if)#exithost1:pe1(config)#virtual-router default
|
Copyright © 2009, Juniper Networks, Inc. Report An Error |
![]()
|