summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-26 19:39:34 +0000
committerViacheslav <v.gletenko@vyos.io>2021-10-26 19:39:34 +0000
commit114e65f271b62fd2bb3fac903921e9fe53134da8 (patch)
treefbac290d72e9454a52516e4d943899ad2b268340 /scripts/bgp/vyatta-bgp.pl
parentb348b9897662f1f26bf3ab1730bdec8e0c1c428b (diff)
downloadvyatta-cfg-quagga-114e65f271b62fd2bb3fac903921e9fe53134da8.tar.gz
vyatta-cfg-quagga-114e65f271b62fd2bb3fac903921e9fe53134da8.zip
bgp: T3945: Add route-map for bgp aggregate-address
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index b0e0af25..faae7126 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -146,6 +146,10 @@ my %qcom = (
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',
+ },
'protocols bgp var address-family ipv4-unicast network' => {
set => undef,
del => undef,