summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2017-07-04 09:33:37 +0000
committerjob <job@cvs.openbsd.org>2017-07-04 09:33:37 +0000
commit97d557b5fa238de29bd653b85efdd0e0a6a43996 (patch)
tree2a35a1dab1d6c353f631b0fcc7deb0a27383130e /etc
parentfb22ed674eed750913c27ba43c08b513502a9af7 (diff)
Add GRACEFUL_SHUTDOWN example to bgpd.conf
OK phessler@
Diffstat (limited to 'etc')
-rw-r--r--etc/examples/bgpd.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/examples/bgpd.conf b/etc/examples/bgpd.conf
index 2ec37b2c752..7c80bfb4da0 100644
--- a/etc/examples/bgpd.conf
+++ b/etc/examples/bgpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: bgpd.conf,v 1.4 2016/06/03 17:36:37 benno Exp $
+# $OpenBSD: bgpd.conf,v 1.5 2017/07/04 09:33:36 job Exp $
# sample bgpd configuration file
# see bgpd.conf(5)
@@ -87,6 +87,10 @@ allow from any inet6 prefixlen 16 - 48
#allow from any prefix 0.0.0.0/0
#allow from any prefix ::/0
+# Honor requests to gracefully shutdown BGP sessions
+# https://tools.ietf.org/html/draft-ietf-grow-bgp-gshut
+match from any community GRACEFUL_SHUTDOWN set { localpref 0 }
+
# https://www.arin.net/announcements/2014/20140130.html
# This block will be subject to a minimum size allocation of /28 and a
# maximum size allocation of /24. ARIN should use sparse allocation when