Way too many routes imported in OSPF
Alarig Le Lay
alarig at swordarmor.fr
Thu Jan 24 11:00:56 CET 2019
On jeu. 24 janv. 10:51:21 2019, Christoffer Hansen wrote:
> On 24/01/2019 10:46, Christoffer Hansen wrote:
> > Have you setup any import filters for OSPF?
>
> Maybe export filters would be the trick?
I already have an import filter:
##################
# OSPF #
##################
protocol ospf ospf_ipv4 {
ipv4 {
import all;
import keep filtered;
import limit 200 action block;
import filter {
accept;
};
export filter {
if (proto = "kernel1" || proto = "direct1") then accept;
else reject;
};
};
area 0.0.0.0 {
interface "enp3s0f1.33";
};
}
protocol ospf v3 ospf_ipv6 {
ipv6 {
import all;
import keep filtered;
import limit 200 action block;
import filter {
accept;
};
export filter {
if (proto = "kernel1" || proto = "direct1") then accept;
else reject;
};
};
area 0.0.0.0 {
interface "enp3s0f1.33";
};
}
But if I use 'route count', I have reasonable values:
bird> show route count protocol ospf_ipv4
63 of 2461477 routes for 737544 networks in table master4
bird> show route count protocol ospf_ipv6
19 of 239272 routes for 63565 networks in table master6
bird> show route count export ospf_ipv4
9 of 2461477 routes for 737544 networks in table master4
bird> show route count export ospf_ipv6
10 of 239279 routes for 63564 networks in table master6
--
Alarig
More information about the Bird-users
mailing list