diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-25 22:10:04 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-29 17:10:13 +0200 |
| commit | 1ba7fc62556ff3ef99280d876c92e38d24dc0bfc (patch) | |
| tree | 73a3f30fa4241423b96e105d57871518c945dd77 /data/templates | |
| parent | 772ccb06548fb1a65d8623ea545facb0bcabb97c (diff) | |
| download | vyos-1x-1ba7fc62556ff3ef99280d876c92e38d24dc0bfc.tar.gz vyos-1x-1ba7fc62556ff3ef99280d876c92e38d24dc0bfc.zip | |
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.
Diffstat (limited to 'data/templates')
| -rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
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) %} |
