From 1f622668d79dd9cc862dfe6e8a8d8a1c2b56fa09 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Thu, 6 May 2010 15:27:51 -0700 Subject: Activate neighbor for IPv6 when address-family parameters are set for it. --- scripts/bgp/vyatta-bgp.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 392377a9..164cd1cf 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -68,7 +68,7 @@ my %qcom = ( "protocols bgp var neighbor" => undef, "protocols bgp var neighbor var" => "router bgp #3 ; neighbor #5", "protocols bgp var neighbor var address-family" => undef, - "protocols bgp var neighbor var address-family ipv6-unicast" => undef, + "protocols bgp var neighbor var address-family ipv6-unicast" => "router bgp #3 ; address-family ipv6 ; neighbor #5 activate",, "protocols bgp var neighbor var address-family ipv6-unicast allowas-in" => "router bgp #3 ; address-family ipv6 ; neighbor #5 allowas-in", "protocols bgp var neighbor var address-family ipv6-unicast attribute-unchanged" => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged ; neighbor #5 attribute-unchanged ?as-path ?med ?next-hop", "protocols bgp var neighbor var address-family ipv6-unicast capability" => undef, @@ -330,7 +330,7 @@ my %qcomdel = ( "protocols bgp var neighbor" => undef, "protocols bgp var neighbor var" => "router bgp #3 ; no neighbor #5", "protocols bgp var neighbor var address-family" => undef, - "protocols bgp var neighbor var address-family ipv6-unicast" => undef, + "protocols bgp var neighbor var address-family ipv6-unicast" => "router bgp #3 ; address-family ipv6 ; no neighbor #5 activate", "protocols bgp var neighbor var address-family ipv6-unicast allowas-in" => "router bgp #3 ; address-family ipv6 ; no neighbor #5 allowas-in", "protocols bgp var neighbor var address-family ipv6-unicast attribute-unchanged" => "router bgp #3 ; address-family ipv6 ; no neighbor #5 attribute-unchanged", "protocols bgp var neighbor var address-family ipv6-unicast capability" => undef, -- cgit v1.2.3