interface r1import-eth0
 ip address 192.0.2.1/24
!
interface r1import-eth1
 ip address 192.168.0.1/24
 ipv6 address 192:168::1/64
!
interface r1import-eth2
 ip address 192.168.1.1/24
 ipv6 address 192:167::1/64
!
router bgp 65501
 bgp router-id 192.168.0.1
 bgp log-neighbor-changes
 no bgp ebgp-requires-policy
 neighbor 192.168.0.2 remote-as 65502
 neighbor 192:168::2 remote-as 65502
!
 bmp targets bmp1
  bmp connect 192.0.2.10 port 1789 min-retry 100 max-retry 10000
   bmp monitor ipv4 unicast pre-policy
   bmp monitor ipv6 unicast pre-policy
   bmp monitor ipv4 unicast post-policy
   bmp monitor ipv6 unicast post-policy
   bmp monitor ipv4 unicast loc-rib
   bmp monitor ipv6 unicast loc-rib
   bmp import-vrf-view vrf1
 exit
!
 address-family ipv4 vpn
  neighbor 192.168.0.2 activate
  neighbor 192.168.0.2 soft-reconfiguration inbound
 exit-address-family
 address-family ipv6 vpn
  neighbor 192:168::2 activate
  neighbor 192:168::2 soft-reconfiguration inbound
 exit-address-family
 address-family ipv4 unicast
  neighbor 192.168.0.2 activate
  neighbor 192.168.0.2 soft-reconfiguration inbound
  no neighbor 192:168::2 activate
 exit-address-family
!
 address-family ipv6 unicast
  neighbor 192:168::2 activate
  neighbor 192:168::2 soft-reconfiguration inbound
 exit-address-family
!
router bgp 65501 vrf vrf1
 bgp router-id 192.168.0.1
 bgp log-neighbor-changes
 neighbor 192.168.1.3 remote-as 65501
 neighbor 192:167::3 remote-as 65501
 address-family ipv4 unicast
  neighbor 192.168.1.3 activate
  neighbor 192.168.1.3 soft-reconfiguration inbound
  no neighbor 192:167::3 activate
  label vpn export 101
  rd vpn export 444:1
  rt vpn both 52:100
  export vpn
  import vpn
  exit-address-family
 address-family ipv6 unicast
  neighbor 192:167::3 activate
  neighbor 192:167::3 soft-reconfiguration inbound
  label vpn export 103
  rd vpn export 555:1
  rt vpn both 54:200
  export vpn
  import vpn
  exit-address-family
exit
