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
|
# $OpenBSD: bgpd.conf.6.in,v 1.5 2018/09/09 20:41:01 claudio Exp $
# test as-set blocks
AS 1
as-set empty1 { }
as-set empty2 {
# nothing
}
as-set one1 { 1 }
as-set one2 {
1
}
as-set "test1" { 1 2 3 4 }
as-set "test2" { 1, 2, 3, 4 }
as-set "test3" {
1 # with comment
2
3
4
# 5 # commented entry
}
as-set "test4" {
1,
2,
3,
4
}
# concatenation test
as-set "test5" { \
1 2 \
3 4 \
}
as-set "AS_SET_AS_PCH1" {
27 42 187 297 715 3856 10886 11893 13202
16327 16668 19281 20539 21312 21556 24999 25505 27678 32978 32979 35160
38052 42530 44876 45170 45494 48892 50843 51874 51972 52234 52304 52306
54145 54390 60313 197058
}
as-set "AS_SET_AS_PCH2" {
27, 42, 187, 297, 715, 3856, 10886, 11893, 13202,
6327, 16668, 19281, 20539, 21312, 21556, 24999, 25505,
27678, 32978, 32979, 35160, 38052, 42530, 44876, 45170,
45494, 48892, 50843, 51874, 51972, 52234, 52304, 52306,
54145, 54390, 60313, 197058
}
|