interface r1-eth1 vrf vrf1
 ip address 173.31.1.1/32
!
interface r1-eth2 vrf vrf2
 ip address 173.31.1.2/32
!
interface r1-eth3 vrf vrf3
 ip address 173.31.1.3/32
!
interface r1-eth4 vrf vrf4
 ip address 173.31.1.4/32
!
interface r1-eth5 vrf vrf5
 ip address 173.31.1.5/32
!

interface r1-eth0
 ip address 192.168.0.1/24
!

interface r1-eth6
 ip address 193.170.0.1/24

interface lo
 ip address 11.11.11.11/32
!
router ospf
 ospf router-id 11.11.11.11
 network 193.170.0.0/24 area 0.0.0.0
 network 11.11.11.11/32 area 0.0.0.0
 redistribute connected
exit
!
mpls ldp
 router-id 11.11.11.11
 !
 address-family ipv4
  discovery transport-address 11.11.11.11
  !
  interface r1-eth6
  exit
  !
 exit-address-family
 !
exit
!
bgp route-map delay-timer 1
router bgp 65500
 bgp router-id 192.0.2.1
 no bgp ebgp-requires-policy
 neighbor 192.168.0.2 remote-as 65501
 address-family ipv4 unicast
  no neighbor 192.168.0.2 activate
 exit-address-family
 address-family ipv4 vpn
  neighbor 192.168.0.2 activate
 exit-address-family
!
router bgp 65500 vrf vrf1
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export auto
  rd vpn export 445:1
  rt vpn both 53:1
  export vpn
  import vpn
 exit-address-family
!
router bgp 65500 vrf vrf2
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export auto
  rd vpn export 445:2
  rt vpn both 53:2
  export vpn
  import vpn
 exit-address-family
!
router bgp 65500 vrf vrf3
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export auto
  rd vpn export 445:3
  rt vpn both 53:3
  export vpn
  import vpn
 exit-address-family
!
router bgp 65500 vrf vrf4
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export auto
  rd vpn export 445:4
  rt vpn both 53:4
  export vpn
  import vpn
 exit-address-family
!
router bgp 65500 vrf vrf5
 bgp router-id 192.0.2.1
 address-family ipv4 unicast
  redistribute connected
  label vpn export auto
  rd vpn export 445:5
  rt vpn both 53:5
  export vpn
  import vpn
 exit-address-family
!

interface r1-eth0
 mpls bgp forwarding
!