From 3a8b7d7a10c23c0ffccebfca23054fd5c8a50018 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 30 May 2021 21:47:33 +0200 Subject: bgp: T3590: limiting maximum number of prefixes to be sent to a peer --- data/templates/frr/bgpd.frr.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates') 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 %} -- cgit v1.2.3