summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-31 13:53:20 +0000
committerViacheslav <v.gletenko@vyos.io>2021-10-31 13:53:20 +0000
commit136b0bcd99661b772fddcef698efd03c344ad0d4 (patch)
tree58c3cdd1ae68aeea11c030b9f74a909f1a9d5ec5 /scripts/bgp/vyatta-bgp.pl
parent92dcd50d35e0eb3490139009bfb33a32aa147a9d (diff)
downloadvyatta-cfg-quagga-136b0bcd99661b772fddcef698efd03c344ad0d4.tar.gz
vyatta-cfg-quagga-136b0bcd99661b772fddcef698efd03c344ad0d4.zip
bgp: T3945: Add route-map for afi aggregate-address
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 781a106a..15d3c16e 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -67,6 +67,10 @@ my %qcom = (
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',
+ },
'protocols bgp var address-family ipv6-unicast network' => {
set => undef,
del => undef,
@@ -134,6 +138,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,