From 20b2b65f214517a58b2dfbb29cb3367d2e025c10 Mon Sep 17 00:00:00 2001 From: zsdc Date: Tue, 31 Dec 2019 23:01:42 +0200 Subject: 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) --- .../node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def | 1 + .../node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def | 1 + .../node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def | 1 + .../node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def | 1 + 4 files changed, 4 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def create mode 100644 templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def create mode 100644 templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/nexthop-self/force/node.def create mode 100644 templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/nexthop-self/force/node.def (limited to 'templates') 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 -- cgit v1.2.3