diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-23 23:50:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 23:50:43 +0100 |
commit | 0d793e74cd8f31e288130417e7c325628c15b18f (patch) | |
tree | 91b72b9b1fa18cbc22d346021414c14c5acaf8cc /scripts/bgp/vyatta-bgp.pl | |
parent | fda7164c488082fe037da26823eea5f1634bd117 (diff) | |
parent | d3578739d67dff813c8eccc1428bd40b96ed8340 (diff) | |
download | vyatta-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-x | scripts/bgp/vyatta-bgp.pl | 15 |
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', |