You can allocate route distinguisher which is independent of route target.
The following example shows the allocation of route distinguisher:
Note
efa tenant vrf create --tenant "ten1" --name "ten1vrf1" --routing-type "distributed" --rt-type export --rt 65010:1 --rt-type import --rt 65010:2 --max-path 8 --redistribute connected efa tenant vrf create --tenant "ten1" --name "ten1vrf2" --routing-type "distributed" --rt-type export --rt 65010:2 --rt-type import --rt 65010:1 --max-path 8 --redistribute connected efa tenant epg create --tenant "ten1" --name "ten1epg1" --type extension --switchport-mode trunk --single-homed-bfd-session-type auto --po ten1po1 --vrf ten1vrf1 --ctag-range 25 --l3-vni 32821 --anycast-ip 25:10.0.21.1/24 --ctag-description "25:Tenant L3 Extended VLAN" --l2-vni 25:32770 --suppress-arp 25:true --suppress-nd 25:false efa tenant epg create --tenant "ten1" --name "ten1epg2" --type extension --switchport-mode trunk --single-homed-bfd-session-type auto --po ten1po1 --vrf ten1vrf2 --ctag-range 26 --l3-vni 32823 --anycast-ip 26:11.0.21.1/24 --ctag-description "26:Tenant L3 Extended VLAN" --l2-vni 26:32771 --suppress-arp 26:true --suppress-nd 26:false
Verify the following switch configuration on SLX devices:
Rack1-Device1# show running-config vrf vrf ten1vrf1 rd 172.31.254.40:1 evpn irb ve 8192 address-family ipv4 unicast route-target export 65010:1 evpn route-target import 65010:2 evpn ! address-family ipv6 unicast route-target export 65010:1 evpn route-target import 65010:2 evpn ! ! vrf ten1vrf2 rd 172.31.254.40:2 evpn irb ve 8190 address-family ipv4 unicast route-target export 65010:2 evpn route-target import 65010:1 evpn ! address-family ipv6 unicast route-target export 65010:2 evpn route-target import 65010:1 evpn ! |
Rack1-Device2# show running-config vrf vrf ten1vrf1 rd 172.31.254.209:1 evpn irb ve 8192 address-family ipv4 unicast route-target export 65010:1 evpn route-target import 65010:2 evpn ! address-family ipv6 unicast route-target export 65010:1 evpn route-target import 65010:2 evpn ! ! vrf ten1vrf2 rd 172.31.254.209:2 evpn irb ve 8190 address-family ipv4 unicast route-target export 65010:2 evpn route-target import 65010:1 evpn ! address-family ipv6 unicast route-target export 65010:2 evpn route-target import 65010:1 evpn ! |