diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-14 14:05:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-14 14:05:09 +0300 |
| commit | a95ba7a7c8820b3f16b191f34738d2ed2e43823f (patch) | |
| tree | f459d0928ce1021676a568e327fa9bf07cae12bf | |
| parent | 558fbe6fac97e8d6d0020de10679085895d382fd (diff) | |
| parent | 42d623ac8a8ab9388e49bdd05941245990f5d79f (diff) | |
Merge pull request #9041 from taspelund/next-hop-self-force-doc
doc: replace next-hop-self all with force
| -rw-r--r-- | doc/user/bgp.rst | 9 |
1 files 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}] |
