summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/bgpd/config/bgpd.conf.11.in
blob: b1707a66c81fda6aa78903594e118005b1635cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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