XCO allows provisioning of redistribute attribute per tenant VRF when you create or update a VRF.
VRF is updated on the switches during the user triggered VRF update operation based on the endpoints present in the endpoint groups using the VRF.
Note
# efa tenant vrf create --name <vrf-name> --tenant <tenant-name> --redistribute <list>
# efa tenant vrf update --name <vrf-name> --tenant <tenant-name> --operation <redistribute-add|redistribute-delete> --redistribute <static | connected>
Example
# efa tenant vrf create --name vrf1 --tenant tenant1 --redistribute static # efa tenant vrf create –name vrf10 –tenant tenant1 # efa tenant epg create --name ten1epg1 --tenant tenant1 --port10.24.80.134[0/11],10.24.80.135[0/11] --switchport-mode trunk –ctag-range 11 --vrf vrf1 –-anycast-ip 11:10.10.11.1/24 # efa tenant epg create --name ten1epg2 --tenant tenant1 --port10.24.80.134[0/12],10.24.80.135[0/12] --switchport-mode trunk -–ctag-range 12 --vrf vrf10 -–anycast-ip 12:10.10.12.1/24 # efa tenant vrf update -–name vrf10 –tenant tenant1 --operation redistribute-add --redistribute static
Device1# sh run router bgp router bgp local-as 4200000000 address-family ipv4unicast vrf vrf1 redistribute static ! address-family ipv4unicast vrf vrf10 redistribute connected redistribute static !
Device2# sh run router bgp router bgp local-as 4200000000 address-family ipv4unicast vrf vrf1 redistribute static ! address-family ipv4unicast vrf vrf10 redistribute connected redistribute static ! address-family ipv6unicast vrf vrf1 redistribute static ! !address-family ipv6unicast vrf vrf10 redistribute connected redistribute static !