servers/roles/debian/templates/frr.conf.j2

29 lines
721 B
Plaintext
Raw Normal View History

frr defaults datacenter
service integrated-vtysh-config
log syslog
2023-11-18 18:44:52 +00:00
router bgp {{ asn.asn }}
bgp bestpath as-path multipath-relax
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
2023-11-18 18:44:52 +00:00
{% for iface in interfaces | selectattr('name', 'match', '^lan') %}
neighbor {{ iface.name }} interface peer-group fabric
neighbor {{ iface.name }} 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