VRF: BFD on Static Route

VRF Create

# efa tenant vrf create --name <vrf-name> --tenant <tenant-name> 
--ipv6static-route-bfd <destination-ip, source-ip, bfd-min-tx, bfd-min-rx, bfd-multiplier> 
--ipv4static-route-bfd < destination-ip, source-ip, bfd-min-tx, bfd-min-rx, bfd-multiplier>

VRF Update

# efa tenant vrf update –name <vrf-name> --tenant <tenant-name> --operation <static-route-bfd-add|static-route-bfd-delete> --ipv6-static-route-bfd <switch-ip, destination-ip, source-ip, bfd-min-tx, bfd-min-rx, bfd-multiplier> --ipv4static-route-bfd  <switch-ip, destination-ip, source-ip, bfd-min-tx, bfd-min-rx, bfd-multiplier> 

Example

# efa tenant vrf create --name red --tenant tenant11 --ipv6-static-route-bfd 10.24.80.134,1001::2,1001::1,100,200,5 --ipv6-static-route-bfd 10.24.80.135,1011::2,1011::1,100,200,5 --ipv6-static-route-bfd 10.24.80.134,1002::2, 1002::1 --ipv6-static-route-bfd 10.24.80.135,1012::2, 1012::1 --ipv4-static-route-bfd 10.24.80.134,13.0.0.1,13.0.0.9,200,300,6 --ipv4-static-route-bfd 10.24.80.135,13.0.1.1,13.0.1.9,200,300,6 --ipv4-static-route-bfd 10.24.80.134,13.0.0.2,13.0.0.10 --ipv4-static-route-bfd 10.24.80.135,13.0.1.2,13.0.1.10
 
# efa tenant epg create --name ten1epg1 --tenant tenant1 --port 10.24.80.134[0/11],10.24.80.135[0/11] --switchport-mode trunk –ctag-range 11 --vrf red –anycast-ip 11:10.10.11.1/24

Switch Config

vrf vrf1
 rd 172.31.254.13:1
 evpn irb ve 8192
 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
  ip route static bfd 13.0.0.1 13.0.0.9 interval 200 min-rx 300 multiplier 6
  ip route static bfd 13.0.0.2 13.0.0.10
 !
 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
  ipv6 route static bfd 1001::2 1001::1 interval 100 min-rx 200 multiplier 5
  ipv6 route static bfd 1002::2 1002::1
 !