Answer the question
In order to leave comments, you need to log in
How to configure the ospf export filter in bird?
Config example
router id 255.255.255.255;
log syslog all;
protocol device {
scan time 10;
}
filter im {
if net ~ [ 10.0.0.0/8+ ] then reject;
else accept;
}
protocol kernel {
export all;
scan time 15;
}
protocol ospf my {
import filter im;
export all;
area 0 {
interface "br1", "tap*" {
priority 255;
type nonbroadcast;
strict nonbroadcast no;
hello 20; retransmit 20; wait 50; dead 50;
authentication none;
neighbors {
172.17.11.1 eligible;
172.17.11.4 eligible;
};
};
};
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question