diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-04-24 09:22:37 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-06-25 20:20:20 +0200 |
commit | 9e7a53c179f6897128b24435452b5d3d0f8c715a (patch) | |
tree | 80a5cc6e9e6dc411587764d865a2bf5f489000ba /doc | |
parent | bgpd: fix route-map comments (diff) | |
download | frr-9e7a53c179f6897128b24435452b5d3d0f8c715a.tar.xz frr-9e7a53c179f6897128b24435452b5d3d0f8c715a.zip |
bgpd: implement "next-hop-self all"
As specified in:
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/command/irg-cr-book/bgp-m1.html#wp4972925610
This allows overriding next-hop for ibgp learned routes on an
RR for reflected routes.
Especially useful for using iBGP in DMVPN setups. See:
http://blog.ipspace.net/2014/04/changes-in-ibgp-next-hop-processing.html
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bgpd.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/bgpd.texi b/doc/bgpd.texi index cb9789bdb..de709707a 100644 --- a/doc/bgpd.texi +++ b/doc/bgpd.texi @@ -299,10 +299,12 @@ This command is deprecated and may be removed in a future release. Its use should be avoided. @end deffn -@deffn {BGP} {neighbor @var{peer} next-hop-self} {} -@deffnx {BGP} {no neighbor @var{peer} next-hop-self} {} +@deffn {BGP} {neighbor @var{peer} next-hop-self [all]} {} +@deffnx {BGP} {no neighbor @var{peer} next-hop-self [all]} {} This command specifies an announced route's nexthop as being equivalent -to the address of the bgp router. +to the address of the bgp router if it is learned via eBGP. +If the optional keyword @code{all} is specified the modifiation is done +also for routes learned via iBGP. @end deffn @deffn {BGP} {neighbor @var{peer} update-source @var{<ifname|address>}} {} |