summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-30 21:47:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-30 21:47:33 +0200
commit3a8b7d7a10c23c0ffccebfca23054fd5c8a50018 (patch)
treea56c58c0da0931e0bbbfba65257d317006476ace /data
parentd79cbf74142d4ab9fb00ff583c147a95a134ed92 (diff)
downloadvyos-1x-3a8b7d7a10c23c0ffccebfca23054fd5c8a50018.tar.gz
vyos-1x-3a8b7d7a10c23c0ffccebfca23054fd5c8a50018.zip
bgp: T3590: limiting maximum number of prefixes to be sent to a peer
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index 99d80e776..158da3605 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -173,6 +173,9 @@
{% if afi_config.maximum_prefix is defined and afi_config.maximum_prefix is not none %}
neighbor {{ neighbor }} maximum-prefix {{ afi_config.maximum_prefix }}
{% endif %}
+{% if afi_config.maximum_prefix_out is defined and afi_config.maximum_prefix_out is not none %}
+ neighbor {{ neighbor }} maximum-prefix-out {{ afi_config.maximum_prefix_out }}
+{% endif %}
{% if afi_config.nexthop_self is defined %}
neighbor {{ neighbor }} next-hop-self {{ 'force' if afi_config.nexthop_self.force is defined }}
{% endif %}