I'm trying to filter some external routes using out-ospf chain but it isnt working. My scenario is:
[RTR_1] -----[OSPF]----[Core Router]----[OSPF]----[Border Router]
RTR_1 has a OSPF session's with Core Router and this one has a session with Border Router.
I would like to filter advertisments between Core Router and Border Router. For example:
Suppose that accidentally someone has add a incorrect route in RTR_1, in this case I wouldn't like to propagate this wrong advertisment to Border Router.
I tryed something like this:
Code: Select all
/routing filter
add action=accept chain=ospf-out disabled=no invert-match=no prefix=10.0.0.0/24 \
protocol=ospf
add action=reject chain=ospf-out disabled=no invert-match=no