Sharing Multiple VRFs with the same RT (route-target)

  1. If you are running EFA EFA 2.5.0 or below, run the following command:
    efa tenant vrf create --tenant "ten1" --name "ten1vrf1" --routing-type "distributed" --rt-type import --rt 100:100 --rt-type export --rt 100:100 --rt-type import --rt 200:200 --rt-type export --rt 200:200 --rt-type import --rt 300:300 --rt-type export --rt 400:400 --max-path 8 --redistribute connected
    
    efa tenant vrf create --tenant "ten2" --name "ten2vrf1" --routing-type "distributed" --rt-type import --rt 100:100 --rt-type export --rt 100:100 --rt-type import --rt 200:200 --rt-type export --rt 200:200 --rt-type import --rt 300:300 --rt-type export --rt 400:400 --max-path 8 --redistribute connected
    VRF Creation Failed:
    Route Target must be unique. Conflicting value: 'import 100:100'
    
  2. If you are running EFA EFA 2.5.0 or above, run the following command:
    efa tenant vrf create --tenant "ten1" --name "ten1vrf1" --routing-type "distributed" --rt-type import --rt 100:100 --rt-type export --rt 100:100 --rt-type import --rt 200:200 --rt-type export --rt 200:200 --rt-type import --rt 300:300 --rt-type export --rt 400:400 --max-path 8 --redistribute connected
    
    efa tenant vrf create --tenant "ten2" --name "ten2vrf1" --routing-type "distributed" --rt-type import --rt 100:100 --rt-type export --rt 100:100 --rt-type import --rt 200:200 --rt-type export --rt 200:200 --rt-type import --rt 300:300 --rt-type export --rt 400:400 --max-path 8 --redistribute connected
    

If you are running EFA 2.5.0 or above, verify the switch configuration on SLX.

L1# show running-config vrf
bvrf ten1vrf1
rd 172.31.254.69:1
evpn irb ve 8192
address-family ipv4 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
address-family ipv6 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
!
vrf ten2vrf1
rd 172.31.254.69:2
evpn irb ve 8190
address-family ipv4 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
address-family ipv6 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
!
L2# show running-config vrf
bvrf ten1vrf1
rd 172.31.254.70:1
evpn irb ve 8192
address-family ipv4 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
address-family ipv6 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
!
vrf ten2vrf1
rd 172.31.254.70:2
evpn irb ve 8190
address-family ipv4 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
address-family ipv6 unicast
  route-target export 100:100 evpn
  route-target export 200:200 evpn
  route-target export 400:400 evpn
  route-target import 100:100 evpn
  route-target import 200:200 evpn
  route-target import 300:300 evpn
!
!