summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-02-23 21:25:54 +0000
committersever-sever <v.gletenko@vyos.io>2021-02-23 21:25:54 +0000
commitd3578739d67dff813c8eccc1428bd40b96ed8340 (patch)
tree91b72b9b1fa18cbc22d346021414c14c5acaf8cc /scripts
parentfda7164c488082fe037da26823eea5f1634bd117 (diff)
downloadvyatta-cfg-quagga-d3578739d67dff813c8eccc1428bd40b96ed8340.tar.gz
vyatta-cfg-quagga-d3578739d67dff813c8eccc1428bd40b96ed8340.zip
routing: T3211: Add redistribute protocol IS-IS to bgp ospf
Diffstat (limited to 'scripts')
-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',