summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-23 23:50:43 +0100
committerGitHub <noreply@github.com>2021-02-23 23:50:43 +0100
commit0d793e74cd8f31e288130417e7c325628c15b18f (patch)
tree91b72b9b1fa18cbc22d346021414c14c5acaf8cc /scripts/bgp/vyatta-bgp.pl
parentfda7164c488082fe037da26823eea5f1634bd117 (diff)
parentd3578739d67dff813c8eccc1428bd40b96ed8340 (diff)
downloadvyatta-cfg-quagga-0d793e74cd8f31e288130417e7c325628c15b18f.tar.gz
vyatta-cfg-quagga-0d793e74cd8f31e288130417e7c325628c15b18f.zip
Merge pull request #70 from sever-sever/T3211_13
routing: T3211: Add redistribute protocol IS-IS to bgp ospf
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 45ae5b1b..129224ed 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -165,6 +165,21 @@ my %qcom = (
del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute connected route-map #9',
noerr => 'set',
},
+ 'protocols bgp var address-family ipv4-unicast redistribute isis' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; redistribute isis ?route-map ?metric',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute isis',
+ noerr => 'set',
+ },
+ 'protocols bgp var address-family ipv4-unicast redistribute isis metric' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; redistribute isis metric #9',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute isis metric #9',
+ noerr => 'set',
+ },
+ 'protocols bgp var address-family ipv4-unicast redistribute isis route-map' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; redistribute isis route-map #9',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute isis route-map #9',
+ noerr => 'set',
+ },
'protocols bgp var address-family ipv4-unicast redistribute kernel' => {
set => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute kernel ; redistribute kernel ?route-map ?metric',
del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute kernel',