diff options
5 files changed, 20 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 098017c1..781a106a 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -310,6 +310,10 @@ my %qcom = ( set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 next-hop-self', del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 next-hop-self', }, + 'protocols bgp var neighbor var address-family ipv6-unicast nexthop-self force' => { + set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 next-hop-self force', + del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 next-hop-self force', + }, 'protocols bgp var neighbor var address-family ipv6-unicast peer-group' => { set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 peer-group #9', del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 peer-group #9 ; neighbor #5 activate', @@ -455,6 +459,10 @@ my %qcom = ( set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 next-hop-self', del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 next-hop-self', }, + 'protocols bgp var neighbor var address-family ipv4-unicast nexthop-self force' => { + set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 next-hop-self force', + del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 next-hop-self force', + }, 'protocols bgp var neighbor var address-family ipv4-unicast prefix-list' => { set => undef, del => undef, @@ -885,6 +893,10 @@ my %qcom = ( set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 next-hop-self', del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 next-hop-self', }, + 'protocols bgp var peer-group var address-family ipv6-unicast nexthop-self force' => { + set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 next-hop-self force', + del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 next-hop-self force', + }, 'protocols bgp var peer-group var address-family ipv6-unicast prefix-list' => { set => undef, del => undef, @@ -1023,6 +1035,10 @@ my %qcom = ( set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 next-hop-self', del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 next-hop-self', }, + 'protocols bgp var peer-group var address-family ipv4-unicast nexthop-self force' => { + set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 next-hop-self force', + del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 next-hop-self force', + }, 'protocols bgp var peer-group var address-family ipv4-unicast prefix-list' => { set => undef, del => undef, diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def new file mode 100644 index 00000000..e78bd2e5 --- /dev/null +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def @@ -0,0 +1 @@ +help: Set the next hop to self for reflected routes diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def new file mode 100644 index 00000000..e78bd2e5 --- /dev/null +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def @@ -0,0 +1 @@ +help: Set the next hop to self for reflected routes diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def new file mode 100644 index 00000000..e78bd2e5 --- /dev/null +++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def @@ -0,0 +1 @@ +help: Set the next hop to self for reflected routes diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def new file mode 100644 index 00000000..e78bd2e5 --- /dev/null +++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def @@ -0,0 +1 @@ +help: Set the next hop to self for reflected routes |