Configuring IPv4 Multicast VPN: Example
multicast-routing
address-family ipv4
interface all enable
!
router ospf 1
router-id 122.122.122.122
area 0
interface Loopback0
!
interface GigabitEthernet0/1/3/0
!
interface GigabitEthernet0/2/3/0
!
!
!
router pim vrf default address-family ipv4
rp-address 2.2.2.2
interface Loopback0
!
interface GigabitEthernet0/1/3/0
!
interface GigabitEthernet0/2/3/0
!
!
end
Configuring MVPN to Advertise Routes Between the CE and the PE Using BGP: 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
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
144
Implementing Multicast Routing on Cisco IOS XR Software