diff --git a/roles/exit/templates/frr.conf.j2 b/roles/exit/templates/frr.conf.j2 index e02943c..13723a6 100644 --- a/roles/exit/templates/frr.conf.j2 +++ b/roles/exit/templates/frr.conf.j2 @@ -392,10 +392,12 @@ route-map firewall->outside permit 41 route-map firewall-{{ loop.index }}->inside permit 1 set tag {{ loop.index }} set weight {{ 100 * loop.index }} + set as-path exclude {{ asn.asn }} {{ hostvars[peer].asn.asn }} call firewall->inside route-map firewall-{{ loop.index }}->outside permit 1 set tag {{ loop.index }} set weight {{ 100 * loop.index }} + set as-path exclude {{ asn.asn }} {{ hostvars[peer].asn.asn }} call firewall->outside {% endfor %}