summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/bgpd/config/bgpd.conf.3.ok
blob: 912771bb9aae3c59eaf47005e6119db2e9a4aa01 (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
somepeer_v6 = "2001:DB8::1"
somenets_v6 = "{ 		2001:DB8:100::/64 		2001:DB8:200::/64 		2001:DB8:300::/64 		}"
somemore_v6 = "{ 		2001:DB8:400::/64 		2001:DB8:500::/64 		}"
AS 1
router-id 127.0.0.1
socket "/var/run/bgpd.sock.0"
holdtime min 3
fib-priority 48


rde rib Adj-RIB-In no evaluate
rde rib Adj-RIB-Out no evaluate
rde rib Loc-RIB rtable 0 fib-update yes


neighbor 2001:db8::1 {
	descr "v6SOMEPEER"
	remote-as 64496
	enforce neighbor-as yes
	enforce local-as yes
	announce IPv6 unicast
}

allow from 2001:db8::1 prefix 2001:db8:300::/64 
allow from 2001:db8::1 prefix 2001:db8:200::/64 
allow from 2001:db8::1 prefix 2001:db8:100::/64 
allow from 2001:db8::1 prefix 2001:db8:300::/64 
allow from 2001:db8::1 prefix 2001:db8:200::/64 
allow from 2001:db8::1 prefix 2001:db8:100::/64 
allow from 2001:db8::1 prefix 2001:db8:500::/64 
allow from 2001:db8::1 prefix 2001:db8:400::/64