summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgpd.frr.j2
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-03-29 13:01:19 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-01 20:55:14 +0000
commit883055dd91764456c58f4a140e98ae227e145366 (patch)
tree88ea2f97d672bbde362176593e5d1c1747feacb2 /data/templates/frr/bgpd.frr.j2
parente2bbbce7db2cbb353efe4f3bf09850492599f228 (diff)
downloadvyos-1x-883055dd91764456c58f4a140e98ae227e145366.tar.gz
vyos-1x-883055dd91764456c58f4a140e98ae227e145366.zip
bgp: T6010: Allow configuration of disable-ebgp-connected-route-check
(cherry picked from commit 010c4061a8884a3617368f3618a425dc517d0675)
Diffstat (limited to 'data/templates/frr/bgpd.frr.j2')
-rw-r--r--data/templates/frr/bgpd.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index e9422b257..7d1241f5a 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -537,6 +537,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if parameters.allow_martian_nexthop is vyos_defined %}
bgp allow-martian-nexthop
{% endif %}
+{% if parameters.disable_ebgp_connected_route_check is vyos_defined %}
+ bgp disable-ebgp-connected-route-check
+{% endif %}
{% if parameters.always_compare_med is vyos_defined %}
bgp always-compare-med
{% endif %}