NTP/ansible/files/frr.conf.j2
Frank Villaro-Dixon cb753ef08b More betterer with FRR
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-06-18 20:20:56 +02:00

37 lines
914 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 pg-leaf capability extended-nexthop
neighbor {{ bgp_router_ipv6 }} peer-group pg-leaf
!
address-family ipv4 unicast
redistribute connected route-map map-bgp-iface
neighbor pg-leaf soft-reconfiguration inbound
exit-address-family
!
address-family ipv6 unicast
redistribute kernel
redistribute connected route-map map-bgp-iface
neighbor pg-leaf activate
neighbor pg-leaf soft-reconfiguration inbound
neighbor pg-leaf route-map map-bgp-iface out
exit-address-family
exit
!
route-map map-bgp-iface permit 10
match interface lo
exit
!
end