diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-13 10:07:47 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-13 10:10:24 +0000 |
commit | d72024b11e127cc11931cfaee4d07944dceb1ea9 (patch) | |
tree | d835fb31f4730d05173017f10ba3cf60ae4cceff /data/templates/frr | |
parent | 4a51fb08e73d259bab87e154f99fb5c3e85fbc46 (diff) | |
download | vyos-1x-d72024b11e127cc11931cfaee4d07944dceb1ea9.tar.gz vyos-1x-d72024b11e127cc11931cfaee4d07944dceb1ea9.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
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 |