MPLS LDP CSC for Multiple VRFs Configuration: Examples
router ospf 100
log adjacency changes
router-id 11.11.11.11
area 0
interface Loopback0
!
interface POS0/2/0/0
!
!
!
mpls ldp
log
adjacency
neighbor
!
router-id 11.11.11.11
address-family ipv4
!
interface POS0/2/0/0
address-family ipv4
!
!
!
no interface POS0/2/0/0 shut
end
CSC-CE21 Configuration
hostname ce21
interface Loopback0
ipv4 address 21.21.21.21 255.255.255.255
!
interface POS0/2/0/0
ipv4 address 193.168.1.21 255.255.255.0
!
interface POS0/2/0/1
ipv4 address 193.169.1.21 255.255.255.0
!
route-policy pass-all
pass
end-policy
!
router static
address-family ipv4 unicast
193.168.1.2/32 POS0/2/0/0
193.169.1.2/32 POS0/2/0/1
!
address-family ipv6 unicast
1:1:1::1/128 POS0/2/0/0
!
!
router bgp 2
bgp router-id 21.21.21.21
address-family ipv4 unicast
redistribute connected
allocate-label all
!
neighbor 193.168.1.2
remote-as 100
address-family ipv4 labeled-unicast
route-policy pass-all in
route-policy pass-all out
!
!
neighbor 193.169.1.22
remote-as 100
address-family ipv4 labeled-unicast
route-policy pass-all in
route-policy pass-all out
!
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
90
Implementing MPLS Label Distribution Protocol