
This end-to-end configuration example shows how to establish a multicast VPN topology (
in CE4PE1PE2 CE3MVPN Configuration, on page 140
), using two different routing protocols (OSPF or
BGP) to broadcasting traffic between customer-edge(CE) routers and provider-edge (PE) routers:
Figure 10: Topology in CE4PE1PE2 CE3MVPN Configuration
CE4------------------ PE1 ------------------------------------------------ PE2 ------------------ CE3
For more configuration information, see the
Configuring Multicast VPN, on page 100
of this module and also
related configuration information in
Cisco IOS XR Routing Configuration Guide for the Cisco CRS Router
.
Configuring MVPN to Advertise Routes Between the CE and the PE Using OSPF: Example
PE1:
!
vrf vpn1
address-family ipv4 unicast
import route-target
1:1
!
export route-target
1:1
!
!
!
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
!
interface Loopback1
vrf vpn1
ipv4 address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/5/0/0
vrf vpn1
ipv4 address 101.1.1.1 255.255.255.0
!
interface TenGigE0/6/0/0
ipv4 address 12.1.1.1 255.255.255.0
!
mpls ldp
router-id 1.1.1.1
interface TenGigE0/6/0/0
!
!
multicast-routing
vrf vpn1 address-family ipv4
mdt data 233.1.0.0/16 threshold 3
mdt default ipv4 232.1.1.1
rate-per-route
interface all enable
accounting per-prefix
!
address-family ipv4
nsf
mdt source Loopback0
interface all enable
accounting per-prefix
!
!
router bgp 100
bgp router-id 1.1.1.1
address-family ipv4 unicast
!
address-family vpnv4 unicast
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
140
Implementing Multicast Routing on Cisco IOS XR Software
Configuring IPv4 Multicast VPN: Example