bird/protocols/idfx.conf

40 lines
669 B
Text

template bgp idfx {
local as my_ripe_asn;
ipv4 {
import keep filtered;
import where is_idfx();
export filter {
if !is_mine() then
reject;
if source = RTS_STATIC || source = RTS_DEVICE then
bgp_local_pref = 200;
accept;
};
};
ipv6 {
import keep filtered;
import where is_idfx();
export where is_mine();
};
allow bgp_local_pref yes;
}
protocol bgp idfx_derhr1 from idfx {
description "iBGP: idfx-derhr1";
local fd42:4dd0:ff00::4;
neighbor fdb0:4339:ffff::106 as 4243390106;
}
protocol bgp idfx_uslxa1 from idfx {
description "iBGP: idfx-uslxa1";
local fd42:4dd0:ff00::5;
neighbor fdb0:4339:ffff::108 as 4243390108;
}