]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: replace next-hop-self all with force 9041/head
authorTrey Aspelund <taspelund@nvidia.com>
Tue, 13 Jul 2021 13:38:44 +0000 (13:38 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Wed, 14 Jul 2021 05:48:11 +0000 (05:48 +0000)
Replaces next-hop-self keyword "all" with "force" to match the CLI.
Also mentions third-party next-hops will be bypassed by next-hop-self.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
doc/user/bgp.rst

index c93a2833c062aef7241d23580144cfb86316e41b..ac17328325af7463ab23b84be77426e794d2337e 100644 (file)
@@ -1442,12 +1442,13 @@ Configuring Peers
    session will be established via IPv6 link locals. Use ``internal`` for iBGP
    and ``external`` for eBGP sessions, or specify an ASN if you wish.
 
-.. clicmd:: neighbor PEER next-hop-self [all]
+.. clicmd:: neighbor PEER next-hop-self [force]
 
    This command specifies an announced route's nexthop as being equivalent to
-   the address of the bgp router if it is learned via eBGP.  If the optional
-   keyword `all` is specified the modification is done also for routes learned
-   via iBGP.
+   the address of the bgp router if it is learned via eBGP. This will also
+   bypass third-party next-hops in favor of the local bgp address. If the
+   optional keyword ``force`` is specified the modification is done also for
+   routes learned via iBGP.
 
 .. clicmd:: neighbor PEER attribute-unchanged [{as-path|next-hop|med}]