frr defaults traditional
!
hostname pe1
password zebra
!
log stdout notifications
log commands
!
router bgp 65001
 bgp router-id 192.0.2.1
 !
 segment-routing srv6
  locator default
 exit
 !
!
router bgp 65001 vrf vrf10
 bgp router-id 192.0.2.1
 !
 address-family ipv4 unicast
  redistribute connected
  sid vpn export auto
  rd vpn export 65001:10
  rt vpn both 0:10
  import vpn
  export vpn
 exit-address-family
 !
!
router bgp 65001 vrf vrf20
 bgp router-id 192.0.2.1
 !
 address-family ipv4 unicast
  rd vpn export 65001:20
  rt vpn both 0:10
  import vpn
  export vpn
 exit-address-family
 !
!
