summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-13 19:16:47 +0200
committerGitHub <noreply@github.com>2023-09-13 19:16:47 +0200
commite8fb2d22c45fcc47511aadb4140a66ce9e9661d5 (patch)
tree59b4bf55adee8c7e518ff32364ae0e9ecb173a1b /data
parenta8fecd96b9c3d6a0771f0761a6060d70bcc04bab (diff)
parentd72024b11e127cc11931cfaee4d07944dceb1ea9 (diff)
downloadvyos-1x-e8fb2d22c45fcc47511aadb4140a66ce9e9661d5.tar.gz
vyos-1x-e8fb2d22c45fcc47511aadb4140a66ce9e9661d5.zip
Merge pull request #2252 from sever-sever/T5576
T5576: Add BGP remove-private-as all option
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 7fa974254..e1c102e16 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -170,7 +170,7 @@
{% endif %}
{% endif %}
{% if afi_config.remove_private_as is vyos_defined %}
- neighbor {{ neighbor }} remove-private-AS
+ neighbor {{ neighbor }} remove-private-AS {{ 'all' if afi_config.remove_private_as.all is vyos_defined }}
{% endif %}
{% if afi_config.route_reflector_client is vyos_defined %}
neighbor {{ neighbor }} route-reflector-client