vrf red
rd 1:1
address-family ipv4 unicast
maximum-paths eibgp 8
redistribute ospf 100
!
!
!
mpls ldp
log
adjacency
neighbor
!
router-id 1.1.1.11
address-family ipv4
!
interface POS0/2/0/1
address-family ipv4
!
!
vrf red
address-family ipv4
!
interface POS0/2/0/0
address-family ipv4
!
!
!
!
no interface POS0/2/0/0 shut
no interface POS0/2/0/1 shut
end
CSC-PE22 Configuration
hostname pe22
vrf red
address-family ipv4 unicast
import route-target
100:1
!
export route-target
100:1
!
!
!
interface Loopback0
ipv4 address 2.2.2.22 255.255.255.255
!
interface Loopback1
vrf red
ipv4 address 2.2.2.22 255.255.255.255
!
interface POS0/2/0/0
ipv4 address 122.1.0.22 255.255.255.0
!
interface POS0/2/0/1
vrf red
ipv4 address 193.169.1.22 255.255.255.0
!
interface POS0/2/0/2
ipv4 address 112.1.0.22 255.255.255.0
!
route-policy pass-all
pass
end-policy
!
router static
vrf red
address-family ipv4 unicast
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
96
Implementing MPLS Label Distribution Protocol
MPLS LDP CSC for Multiple VRFs Configuration: Examples