From d3578739d67dff813c8eccc1428bd40b96ed8340 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Tue, 23 Feb 2021 21:25:54 +0000 Subject: routing: T3211: Add redistribute protocol IS-IS to bgp ospf --- scripts/bgp/vyatta-bgp.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'scripts/bgp/vyatta-bgp.pl') 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', -- cgit v1.2.3