! frr version 10.0.1 frr defaults traditional hostname {{ ansible_hostname }} log syslog informational service integrated-vtysh-config ! router bgp {{ bgp_asn }} bgp router-id {{ ansible_default_ipv4.address }} bgp bestpath as-path multipath-relax bgp bestpath compare-routerid neighbor pg-leaf peer-group neighbor pg-leaf remote-as external neighbor {{ bgp_router_ipv6 }} peer-group pg-leaf ! address-family ipv4 unicast redistribute connected route-map map-bgp neighbor pg-leaf soft-reconfiguration inbound exit-address-family ! address-family ipv6 unicast redistribute connected route-map map-bgp neighbor pg-leaf activate neighbor pg-leaf soft-reconfiguration inbound neighbor pg-leaf route-map map-bgp out exit-address-family exit ! route-map map-bgp permit 10 match interface bgp route-map map-bgp permit 20 match interface bgp-backup set as-path prepend {{ bgp_asn }} {{ bgp_asn }} {{ bgp_asn }} ! end