R7(PE):
mpls label range 700 799
mpls label protocol ldp
interface Loopback0
ip address 7.7.7.7 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding b
ip address 192.168.78.7 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.67.7 255.255.255.0
duplex auto
speed auto
mpls ip
!
router ospf 200
router-id 7.7.7.7
log-adjacency-changes
network 7.7.7.7 0.0.0.0 area 0
network 192.168.67.0 0.0.0.255 area 0
!
router rip
!
address-family ipv4 vrf b
redistribute bgp 200 metric transparent
network 192.168.78.0
no auto-summary
version 2
exit-address-family
!
router bgp 200
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 6.6.6.6 remote-as 200
neighbor 6.6.6.6 update-source Loopback0
!
address-family ***v4
neighbor 6.6.6.6 activate
neighbor 6.6.6.6 send-community extended
exit-address-family
!
address-family ipv4 vrf b
redistribute rip
no synchronization
exit-address-family
!
mpls ldp router-id Loopback0 |