From 42d623ac8a8ab9388e49bdd05941245990f5d79f Mon Sep 17 00:00:00 2001 From: Trey Aspelund Date: Tue, 13 Jul 2021 13:38:44 +0000 Subject: [PATCH] doc: replace next-hop-self all with force 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 --- doc/user/bgp.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index c93a2833c0..ac17328325 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -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}] -- 2.39.5