54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
include "/etc/bird/vars.conf";
|
|
include "/etc/bird/whitelist/*.conf";
|
|
include "/etc/bird/function/*.conf";
|
|
include "/etc/bird/conf/*.conf";
|
|
|
|
protocol device {
|
|
scan time 10;
|
|
};
|
|
|
|
protocol kernel kernel_main4 {
|
|
scan time 20;
|
|
ipv4 {
|
|
import none;
|
|
export filter {
|
|
if bgp_large_community ~ [(UNET_ASN, 10,4)] then accept;
|
|
reject;
|
|
};
|
|
};
|
|
};
|
|
|
|
protocol kernel kernel_t102v4 {
|
|
scan time 20;
|
|
kernel table 102;
|
|
ipv4 {
|
|
table t102v4;
|
|
import none;
|
|
export filter {
|
|
if bgp_large_community ~ [(UNET_ASN, 10,10204)] then accept;
|
|
reject;
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
protocol kernel kernel_t102v6 {
|
|
scan time 20;
|
|
kernel table 102;
|
|
ipv6 {
|
|
table t102v6;
|
|
import none;
|
|
export filter {
|
|
if bgp_large_community ~ [(UNET_ASN, 10,10206)] then accept;
|
|
reject;
|
|
};
|
|
};
|
|
};
|
|
|
|
include "/etc/bird/net/*.conf";
|
|
include "/etc/bird/filter/*.conf";
|
|
include "/etc/bird/template/*.conf";
|
|
include "/etc/bird/peers/inet/*.conf";
|
|
include "/etc/bird/peers/dn42/*.conf";
|
|
include "/etc/bird/peers/unet/*.conf";
|