VRF Static Route Configuration

VRF Create

efa tenant vrf create --name vrfv1 --tenant t3 --local-asn 65234 --ipv4-static-route-next-hop 0.0.0.0/24,16.0.0.2 
--ipv6-static-route-bfd 200::2,200::3,123,455,5 --ipv4-static-route-bfd 16.0.0.2,16.0.0.3,123,456,3

VRF Update

efa tenant vrf update -–name <vrf-name> --tenant <tenant-name> --operation <static-route-add|static-route-delete> --ipv6static-route-next-hop <destination, next-hop> 
--ipv4static-route-next-hop <destination, next-hop>

Examples: (tenant vrf create and tenant vrf show)

efa tenant vrf create --name red --tenant tenant11 --ipv6static-route-next-hop 2000::/64,1001::2 --ipv6static-route-next-hop 2000::/64,1002::2 --ipv6static-route-next-hop 2000::/64,1003::2 --ipv6static-route-next-hop 2000::/64,1004::2 
--ipv6static-route-next-hop 2000::/64,1005::2 --ipv4static-route-next-hop 22.0.0.0/24,13.0.0.1 --ipv4static-route-next-hop 22.0.0.0/24,13.0.0.2 
--ipv4static-route-next-hop 22.0.0.0/24,13.0.0.3 --ipv4static-route-next-hop 22.0.0.0/24,13.0.0.4 --ipv4static-route-next-hop 22.0.0.0/24,13.0.0.5
efa tenant vrf show --name red --tenant tenant11

================================================================================================= Name : red Tenant Name : tenant11 L3 VNI : IRB BD : IRB VE : Route Target : Static Route : Network->Nh1,Nh2,.. : 22.0.0.0/24->13.0.0.1,13.0.0.2,13.0.0.3,13.0.0.4,13.0.0.5 2000::/64->1001::2,1002::2,1003::2,1004::2,1005::2 Local Asn : =================================================================================================

Switch Config

vrf vrf1 address-family ipv4 unicast route-target export 1:1 evpn route-target import 1:1 evpn ip route 22.0.0.0/24 13.0.0.1 ip route 22.0.0.0/24 13.0.0.2 ip route 22.0.0.0/24 13.0.0.3 ip route 22.0.0.0/24 13.0.0.4 ip route 22.0.0.0/24 13.0.0.5 ! address-family ipv6 unicast route-target export 1:1 evpn route-target import 1:1 evpn ipv6 route 2000::/64 1001::2 ipv6 route 2000::/64 1002::2 ipv6 route 2000::/64 1003::2 ipv6 route 2000::/64 1004::2 ipv6 route 2000::/64 1005::2 !