diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2024-04-03 14:56:03 +0300 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2024-04-03 15:21:02 +0300 |
commit | 73e7b1d392b03911864c54ce6773e326f0f04011 (patch) | |
tree | 5ef4dfa48dfbae5c7beeee3b21516fd61fdb2b20 /scripts/bgp | |
parent | fa7b0412c16b8ac861337eb2e993cb68540fdaf6 (diff) | |
download | vyatta-cfg-quagga-73e7b1d392b03911864c54ce6773e326f0f04011.tar.gz vyatta-cfg-quagga-73e7b1d392b03911864c54ce6773e326f0f04011.zip |
T6196: Fixed applying parameters for aggregation in BGP
Fixed using 'route-map', 'as-set' and 'summary-only' together
in aggregation in BGP.
Diffstat (limited to 'scripts/bgp')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 07bef63d..ba5cb033 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -64,12 +64,8 @@ my %qcom = ( del => undef, }, 'protocols bgp var address-family ipv6-unicast aggregate-address var' => { - set => 'router bgp #3 ; address-family ipv6 ; aggregate-address #7 ?summary-only', - del => 'router bgp #3 ; address-family ipv6 ; no aggregate-address #7', - }, - 'protocols bgp var address-family ipv6-unicast aggregate-address var route-map' => { - set => 'router bgp #3 ; address-family ipv6 unicast ; no aggregate-address #7 ; aggregate-address #7 route-map #9', - del => 'router bgp #3 ; address-family ipv6 unicast ; no aggregate-address #7 route-map #9 ; aggregate-address #7', + set => 'router bgp #3 ; address-family ipv6 ; aggregate-address #7 ?summary-only ?route-map', + del => 'router bgp #3 ; address-family ipv6 ; no aggregate-address #7 ?summary-only ?route-map', }, 'protocols bgp var address-family ipv6-unicast network' => { set => undef, @@ -147,12 +143,8 @@ my %qcom = ( del => undef, }, 'protocols bgp var address-family ipv4-unicast aggregate-address var' => { - set => 'router bgp #3 ; address-family ipv4 unicast ; aggregate-address #7 ?as-set ?summary-only', - del => 'router bgp #3 ; address-family ipv4 unicast ; no aggregate-address #7 ?as-set ?summary-only', - }, - 'protocols bgp var address-family ipv4-unicast aggregate-address var route-map' => { - set => 'router bgp #3 ; address-family ipv4 unicast ; no aggregate-address #7 ; aggregate-address #7 route-map #9', - del => 'router bgp #3 ; address-family ipv4 unicast ; no aggregate-address #7 route-map #9 ; aggregate-address #7', + set => 'router bgp #3 ; address-family ipv4 unicast ; aggregate-address #7 ?as-set ?summary-only ?route-map', + del => 'router bgp #3 ; address-family ipv4 unicast ; no aggregate-address #7 ?as-set ?summary-only ?route-map', }, 'protocols bgp var address-family ipv4-unicast network' => { set => undef, |