From 8b0d734b31056fcf4d8215a6d27a80ecf183a61b Mon Sep 17 00:00:00 2001 From: rbauduin Date: Mon, 17 Feb 2020 13:13:11 +0100 Subject: [PATCH] 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 --- doc/user/bgp.rst | 8 ++++++++ 1 file changed, 8 insertions(+) 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 .. clicmd:: [no] neighbor PEER update-source -- 2.39.5