PE2 version 15.7 hostname PE2 ! vrf definition C rd 3:3 route-target export 3:3 route-target import 4:4 ! address-family ipv4 exit-address-family ! vrf definition D rd 4:4 route-target export 4:4 route-target import 3:3 ! address-family ipv4 exit-address-family ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface Loopback1 vrf forwarding C ip address 22.22.22.22 255.255.255.255 ! interface GigabitEthernet0/0 vrf forwarding D ip address 192.168.6.1 255.255.255.252 duplex auto speed auto media-type rj45 ! interface GigabitEthernet0/1 vrf forwarding C ip address 192.168.1.1 255.255.255.252 duplex auto speed auto media-type rj45 ! interface GigabitEthernet0/2 ip address 192.168.0.5 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 mpls ip ! interface GigabitEthernet0/4 ip address 192.168.4.2 255.255.255.252 ip ospf network point-to-point ip ospf 1 area 0 duplex auto speed auto media-type rj45 mpls ip ! router ospf 1 network 2.2.2.2 0.0.0.0 area 0 network 192.168.0.4 0.0.0.3 area 0 ! router bgp 65000 bgp router-id 2.2.2.2 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor 4.4.4.4 remote-as 65000 neighbor 4.4.4.4 update-source Loopback0 ! address-family vpnv4 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community both exit-address-family ! address-family ipv4 vrf C neighbor 11.11.11.11 remote-as 65000 neighbor 11.11.11.11 update-source Loopback1 neighbor 11.11.11.11 activate neighbor 11.11.11.11 send-community both neighbor 11.11.11.11 next-hop-self exit-address-family ! address-family ipv4 vrf D neighbor 192.168.6.2 remote-as 6 neighbor 192.168.6.2 activate neighbor 192.168.6.2 send-community both exit-address-family ip route vrf C 11.11.11.11 255.255.255.255 192.168.1.2