]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: document attribute-unchanged directive
authorrbauduin <rbauduin@users.noreply.github.com>
Mon, 17 Feb 2020 12:13:11 +0000 (13:13 +0100)
committerRaphael Bauduin <rb@raphinou.com>
Tue, 25 Feb 2020 19:31:22 +0000 (20:31 +0100)
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>
doc/user/bgp.rst

index bacb69b81575b34fbea31d50b3a3863bf3e9c19a..fa84f6dc76231ab30376992fb02d1073f892eb10 100644 (file)
@@ -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>