NTP/ansible/files/frr.conf.j2
Frank Villaro-Dixon 9cb8312232 FRR: dont need unnumbered capability.
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-06-20 11:53:52 +02:00

36 lines
937 B
Django/Jinja

!
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