From 1ba7fc62556ff3ef99280d876c92e38d24dc0bfc Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 25 Jun 2026 22:10:04 +0200 Subject: bgp: T6573: add input/output queue limit CLI commands Add input-queue-limit and output-queue-limit CLI nodes to expose global FRR "bgp input-queue-limit" and "bgp output-queue-limit" commands via our CLI. Parameters control the maximum number of queued messages for all BGP peers during message parsing. FRR default is 10000 which we honor. Note that this is a global option and can only be set for the global/default BGP instance. --- data/templates/frr/bgpd.frr.j2 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'data') diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 3035262a6..f2f0fcc45 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -1,3 +1,10 @@ +! +{% if parameters.input_queue_limit is vyos_defined %} + bgp input-queue-limit {{ parameters.input_queue_limit }} +{% endif %} +{% if parameters.output_queue_limit is vyos_defined %} + bgp output-queue-limit {{ parameters.output_queue_limit }} +{% endif %} {### MACRO definition for recurring peer patter, this can be either fed by a ###} {### peer-group or an individual BGP neighbor ###} {% macro bgp_neighbor(neighbor, config, peer_group=false) %} -- cgit v1.2.3