We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbe13c commit 6cc1f99Copy full SHA for 6cc1f99
dockers/docker-fpm-frr/bgpd.peer.conf.j2
@@ -24,6 +24,14 @@
24
{% endif %}
25
{% if bgp_session['nhopself'] | int != 0 %}
26
neighbor {{ neighbor_addr }} next-hop-self
27
+{% endif %}
28
+{% if bgp_session["asn"] == DEVICE_METADATA['localhost']['bgp_asn']
29
+ and DEVICE_METADATA['localhost']['type'] == "SpineChassisFrontendRouter"
30
+ and (not bgp_session.has_key("local_addr") or bgp_session["local_addr"] not in interfaces_in_vnets) %}
31
+ address-family l2vpn evpn
32
+ neighbor {{ neighbor_addr }} activate
33
+ advertise-all-vni
34
+ exit-address-family
35
36
neighbor {{ neighbor_addr }} activate
37
exit-address-family
0 commit comments