From 685ccfa94c8ea711125ed7ea37444c6f1f025ee9 Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Tue, 27 Sep 2011 13:43:03 -0700 Subject: Bug 7522 - bgp: allow default-originate if default ipv4 disable --- scripts/bgp/vyatta-bgp.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/bgp/vyatta-bgp.pl') diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 56bfe978..bc1bab0b 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -849,12 +849,14 @@ my %qcom = ( set => 'router bgp #3 ; neighbor #5 capability orf prefix-list send', del => 'router bgp #3 ; no neighbor #5 capability orf prefix-list send', }, + ## Note that the activate will need to be moved when we migrate to + ## supporting a single IP version in a peering session. 'protocols bgp var peer-group var default-originate' => { - set => 'router bgp #3 ; neighbor #5 default-originate', + set => 'router bgp #3 ; neighbor #5 activate ; neighbor #5 default-originate', del => 'router bgp #3 ; no neighbor #5 default-originate', }, 'protocols bgp var peer-group var default-originate route-map' => { - set => 'router bgp #3 ; neighbor #5 default-originate route-map #8', + set => 'router bgp #3 ; neighbor #5 activate ; neighbor #5 default-originate route-map #8', del => 'router bgp #3 ; no neighbor #5 default-originate route-map #8', }, 'protocols bgp var peer-group var disable-capability-negotiation' => { -- cgit v1.2.3