servers/roles/debian/templates/frr.conf.j2
Timotej Lazar 8dd2476238 Add role to set up base Debian server
With sshd in separate management VRF and FRR to announce routes to
self over unnumbered BGP.
2023-06-01 17:22:26 +02:00

29 lines
672 B
Django/Jinja

frr defaults datacenter
service integrated-vtysh-config
log syslog
router bgp {{ asn }}
bgp bestpath as-path multipath-relax
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
{% for iface in ifaces_fabric %}
neighbor {{ iface }} interface peer-group fabric
neighbor {{ iface }} bfd
{% endfor %}
address-family ipv4 unicast
redistribute connected route-map loopback
neighbor fabric activate
exit-address-family
address-family ipv6 unicast
redistribute connected route-map loopback
neighbor fabric activate
exit-address-family
route-map loopback permit 1
match interface lo