!
router ospf 100
log adjacency changes
router-id 1.1.1.1
area 0
interface Loopback0
!
interface POS0/2/0/4
!
interface POS0/2/0/5
!
!
vrf red
router-id 1.1.1.1
redistribute bgp 100
area 0
interface Loopback1
!
interface POS0/2/0/0
!
interface POS0/2/0/1
!
!
!
vrf blue
router-id 1.1.1.1
area 0
interface Loopback2
!
interface POS0/2/0/2
!
interface POS0/2/0/3
!
!
!
!
router bgp 100
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
neighbor 2.2.2.2
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
!
!
neighbor 2.2.2.22
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
!
!
vrf red
rd 1:1
address-family ipv4 unicast
maximum-paths eibgp 8
redistribute ospf 100
!
!
!
mpls ldp
log
adjacency
neighbor
!
nsr
router-id 1.1.1.1
address-family ipv4
label
local
advertise
explicit-null
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
92
Implementing MPLS Label Distribution Protocol
MPLS LDP CSC for Multiple VRFs Configuration: Examples