summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbauduin <rbauduin@users.noreply.github.com>2020-02-17 13:13:11 +0100
committerRaphael Bauduin <rb@raphinou.com>2020-02-25 20:31:22 +0100
commit8b0d734b31056fcf4d8215a6d27a80ecf183a61b (patch)
treee9a9b2f5836659356379a48ac40f17fa45852728
parentb5a3c5ef9ff62af16a382396726e0fd2b9e65fef (diff)
doc: document attribute-unchanged directive
This directive was undocumented, but is the way to configure the next-hop to be left unchanged for ipv6 setups (in ipv4, a route-map with `set next-hop unchanged` works fine, but this is unavailable for ipv6) . Signed-off-by: Raphael Bauduin <rb@raphinou.com>
-rw-r--r--doc/user/bgp.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index bacb69b815..fa84f6dc76 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -1205,6 +1205,14 @@ Configuring Peers
keyword `all` is specified the modification is done also for routes learned
via iBGP.
+.. index:: neighbor PEER attribute-unchanged [{as-path|next-hop|med}]
+.. clicmd:: neighbor PEER attribute-unchanged [{as-path|next-hop|med}]
+
+ This command specifies attributes to be left unchanged for advertisements
+ sent to a peer. Use this to leave the next-hop unchanged in ipv6
+ configurations, as the route-map directive to leave the next-hop unchanged
+ is only available for ipv4.
+
.. index:: [no] neighbor PEER update-source <IFNAME|ADDRESS>
.. clicmd:: [no] neighbor PEER update-source <IFNAME|ADDRESS>