-.\" $OpenBSD: bgpd.8,v 1.74 2022/06/28 11:52:24 claudio Exp $
+.\" $OpenBSD: bgpd.8,v 1.75 2022/07/12 17:30:57 claudio Exp $
.\"
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 28 2022 $
+.Dd $Mdocdate: July 12 2022 $
.Dt BGPD 8
.Os
.Sh NAME
.Re
.Pp
.Rs
+.%A D. Walton
+.%A A. Retana
+.%A E. Chen
+.%A J. Scudder
+.%D July 2016
+.%R RFC 7911
+.%T Advertisement of Multiple Paths in BGP
+.Re
+.Pp
+.Rs
.%A C. Petrie
.%A T. King
.%D May 2017
-.\" $OpenBSD: bgpd.conf.5,v 1.223 2022/06/28 11:52:24 claudio Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.224 2022/07/12 17:30:57 claudio Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 28 2022 $
+.Dd $Mdocdate: July 12 2022 $
.Dt BGPD.CONF 5
.Os
.Sh NAME
.Xc
If set to
.Ic yes ,
-the receive add-path capability is announced which allows reception of multiple
+the receive add-path capability is announced, which allows reception of multiple
paths per prefix.
The default is
.Ic no .
.Pp
.It Xo
+.Ic announce add-path send
+.Pq Ic no Ns | Ns Ic all
+.Xc
+.It Xo
+.Ic announce add-path send
+.Pq Ic best Ns | Ns Ic ecmp | Ns Ic as-wide-best
+.Op Ic plus Ar num
+.Op Ic max Ar num
+.Xc
+If set to
+.Ic all ,
+.Ic best ,
+.Ic ecmp ,
+or
+.Ic as-wide-best ,
+the send add-path capability is announced, which allows sending multiple paths
+per prefix.
+The paths sent depend on which mode is selected:
+.Pp
+.Bl -tag -width as-wide-best -compact
+.It Ic no
+do not advertise add-path send capability
+.It Ic all
+send all valid paths
+.It Ic best
+send the best path
+.It Ic ecmp
+send paths with equal nexthop cost
+.It Ic as-wide-best
+send paths where the first 8 checks of the decision process match
+.El
+.Pp
+.Ic plus
+allows the inclusion of additional backup paths and works for
+.Ic best ,
+.Ic ecmp ,
+and
+.Ic as-wide-best .
+.Ic max
+can be used to limit the total amount of paths sent for
+.Ic ecmp
+and
+.Ic as-wide-best .
+Right now
+.Ic ecmp
+and
+.Ic as-wide-best
+are equivalent.
+The default is
+.Ic no .
+.Pp
+.It Xo
.Ic announce as-4byte
.Pq Ic yes Ns | Ns Ic no
.Xc