diff options
Diffstat (limited to 'regress/usr.sbin/bgpd/config/bgpd.conf.11.in')
-rw-r--r-- | regress/usr.sbin/bgpd/config/bgpd.conf.11.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/regress/usr.sbin/bgpd/config/bgpd.conf.11.in b/regress/usr.sbin/bgpd/config/bgpd.conf.11.in new file mode 100644 index 00000000000..b1707a66c81 --- /dev/null +++ b/regress/usr.sbin/bgpd/config/bgpd.conf.11.in @@ -0,0 +1,52 @@ +# $OpenBSD: bgpd.conf.11.in,v 1.1 2018/12/19 15:30:13 claudio Exp $ +# test communities + +AS 64512 + +# extended communities 2-byte AS +match from any ext-community rt 64496:1 +match from any ext-community soo 64496:2 +match from any ext-community odi 64496:3 +match from any ext-community bdc 64496:4 +match from any ext-community srcas 64496:5 +match from any ext-community l2vid 64496:6 +# extended communities 4-byte AS +match from any ext-community rt 4200000001:7 +match from any ext-community soo 4200000001:8 +match from any ext-community odi 4200000001:9 +match from any ext-community bdc 4200000001:10 +match from any ext-community srcas 4200000001:11 +# extended communities IPv4 +match from any ext-community rt 127.0.0.1:12 +match from any ext-community soo 127.0.0.1:13 +match from any ext-community odi 127.0.0.1:14 +match from any ext-community ori 127.0.0.1:15 +match from any ext-community l2vid 127.0.0.1:16 +match from any ext-community vrfri 127.0.0.1:17 +# extended communities opaque +match from any ext-community ort 0x123456789ab0 +match from any ext-community defgw 0x123456789ab1 +# extended communities evpn +match from any ext-community mac-mob 0x123456789ab2 +match from any ext-community esi-lab 0x123456789ab3 +match from any ext-community esi-rt 0x123456789ab4 +# extended communities ovs +match from any ext-community ovs valid +match from any ext-community ovs invalid +match from any ext-community ovs not-found + +# multiple +match from any ext-community rt 64496:201 ext-community soo 64496:202 +match from any ext-community rt 64496:301 ext-community soo 4200000001:302 ext-community odi 127.0.0.1:303 + +# set and delete community +match from any set ext-community rt 64496:5001 +match from any set ext-community soo 4200000001:5002 +match from any set ext-community odi 127.0.0.1:5003 +match from any set ext-community ort 0x123456789abc +match from any set ext-community ovs valid +match from any set ext-community delete rt 64496:6001 +match from any set ext-community delete soo 4200000001:6002 +match from any set ext-community delete odi 127.0.0.1:6003 +match from any set ext-community delete ort 0x123456789abf +match from any set ext-community delete ovs valid |