diff --git a/roles/debian/templates/frr.conf.j2 b/roles/debian/templates/frr.conf.j2 index 7f3413c..b6bbefb 100644 --- a/roles/debian/templates/frr.conf.j2 +++ b/roles/debian/templates/frr.conf.j2 @@ -17,12 +17,19 @@ router bgp {{ asn.asn }} address-family ipv4 unicast redistribute connected route-map loopback neighbor fabric activate + neighbor fabric route-map local out exit-address-family address-family ipv6 unicast redistribute connected route-map loopback neighbor fabric activate + neighbor fabric route-map local out exit-address-family +bgp as-path access-list local permit ^$ + route-map loopback permit 1 match interface lo + +route-map local permit 1 + match as-path local