summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/bgpd/bgpd.conf.2.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.sbin/bgpd/bgpd.conf.2.in')
-rw-r--r--regress/usr.sbin/bgpd/bgpd.conf.2.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/usr.sbin/bgpd/bgpd.conf.2.in b/regress/usr.sbin/bgpd/bgpd.conf.2.in
new file mode 100644
index 00000000000..978146816e8
--- /dev/null
+++ b/regress/usr.sbin/bgpd/bgpd.conf.2.in
@@ -0,0 +1,12 @@
+# $OpenBSD: bgpd.conf.2.in,v 1.1 2017/10/05 08:19:24 phessler Exp $
+# Test various community related filter parsing
+
+AS 1
+
+allow from any community local-as:neighbor-as
+allow from any ext-community rt 1:2
+allow from any ext-community l2vid 192.0.2.1:2
+allow from any ext-community ovs valid
+allow from any ext-community ovs invalid
+allow from any ext-community ovs not-found
+allow from any large-community local-as:neighbor-as:*