diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-13 10:07:47 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-13 17:18:03 +0000 |
commit | 84e245a712507013c4a4f4fcf3b0448b40221f86 (patch) | |
tree | 6a5fce033fb11fab51d7b4bd780a76899693869b /data/templates/frr | |
parent | 3d9a0b02d031a97b099ef6fe4ba07d7ce7eb958e (diff) | |
download | vyos-1x-84e245a712507013c4a4f4fcf3b0448b40221f86.tar.gz vyos-1x-84e245a712507013c4a4f4fcf3b0448b40221f86.zip |
T5576: Add BGP remove-private-as all option
Add the ability to use the option all for remove-private-as.
Remove private ASNs in outbound updates.
all - Apply to all AS numbers
set protocols bgp neighbor <tag> address-family ipv4-unicast remove-private-as all
(cherry picked from commit d72024b11e127cc11931cfaee4d07944dceb1ea9)
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 2 |
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 |