ix-bird-config/bgp6.conf

42 lines
772 B
Plaintext

template bgp dnpeers {
local as OWNAS;
table T_BGP;
path metric 1;
import keep filtered on;
import where dnpeers_import_policy();
export filter {
if is_valid_network() then {
accept;
}
reject;
};
};
template bgp iBGP_Peer {
local as OWNAS;
hold time 15;
igp table T_OSPF;
path metric on;
import keep filtered;
# import where iBGP_import_peer_policy();
# export where iBGP_export_peer_policy();
import all;
export all;
source address OWNIP;
next hop self;
}
template pipe iBGP_Pipe {
peer table master;
import all;
export all;
}
protocol pipe {
table master;
peer table T_BGP;
import all;
export all;
};