summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2019-12-31 23:01:42 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-11 15:31:23 +0200
commit20b2b65f214517a58b2dfbb29cb3367d2e025c10 (patch)
treee4e1994d2715d5ace6a4b9402213298e953acbf0 /templates
parent3da795954cba2df8121dc4da510b37db11f4eefe (diff)
downloadvyatta-cfg-quagga-20b2b65f214517a58b2dfbb29cb3367d2e025c10.tar.gz
vyatta-cfg-quagga-20b2b65f214517a58b2dfbb29cb3367d2e025c10.zip
BGP: T1817: Added nexthop-self force option
A simple "nexthop-self" command does not affect route-reflector clients, we need to additionally use "force" for them. This change adding "force" to both ipv4-unicast and ipv6-unicast families in neighbor and peer-group sections. (cherry picked from commit 6c7838254a321ec9764e4b79c4ac7aab11e7050a)
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def1
4 files changed, 4 insertions, 0 deletions
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