I want to export all of my ospf routes into bgp except for 172.16.0.0/16. I have tried the following config, but it is not working. Any suggestions?
policy-options {
policy-statement ospf-to-bgp {
term ospf-area0 {
from {
protocol ospf;
route-filter 172.16.0.0/12 orlonger reject;
}
then accept;
}
}
}