summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.conf.5
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-06-28 11:52:25 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-06-28 11:52:25 +0000
commitf7353d039bec5613185e73f88b803008f2b175ae (patch)
tree654e5fb60ddf43be3f1c4f6176ca6277bf31d2f2 /usr.sbin/bgpd/bgpd.conf.5
parent0d012e491d84f6dbb71db4f1a6fc6b343a15ff5a (diff)
Try to document 'announce policy' and add RFC 9234 to the list in bgpd.8
How RFC 9234 support will work in the long run may still change but for now at least tell people how to use it.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.conf.5')
-rw-r--r--usr.sbin/bgpd/bgpd.conf.526
1 files changed, 25 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.conf.5 b/usr.sbin/bgpd/bgpd.conf.5
index e48f7683f81..708ac5c7676 100644
--- a/usr.sbin/bgpd/bgpd.conf.5
+++ b/usr.sbin/bgpd/bgpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpd.conf.5,v 1.222 2022/06/28 04:36:29 jsg Exp $
+.\" $OpenBSD: bgpd.conf.5,v 1.223 2022/06/28 11:52:24 claudio Exp $
.\"
.\" Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
.\" Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -875,6 +875,30 @@ The default is
.Ic no .
.Pp
.It Xo
+.Ic announce policy
+.Pq Ic no Ns | Ns Ar role
+.Op Ic enforce
+.Xc
+If set to
+.Ic no ,
+do not add the open policy role capability.
+The role can be one of
+.Ar provider ,
+.Ar customer ,
+.Ar rs ,
+.Ar rs-client ,
+or
+.Ar peer .
+If the role of the neighbor does not correspond to the expected role then
+the session will be closed.
+If
+.Ic enforce
+is set the session will only establish if the neighbor also announces
+the open policy capability.
+The default is
+.Ic no .
+.Pp
+.It Xo
.Ic announce refresh
.Pq Ic yes Ns | Ns Ic no
.Xc