hello, im rading a book "Junos enterprise routing" and saw some interesting statement about route-filters.
"Consider this route-filter example, and what will happen
when route 200.0.67.0/24 is evaluated against it:
[edit policy-options policy-statement test_me]
user@host# show
from {
route-filter 200.0.0.0/16 longer reject;
route-filter 200.0.67.0/24 longer;
route-filter 200.0.0.0/8 orlonger accept;
}
then {
metric 10;
accept;
}
The question is, will route 200.0.67.0/24 match this term, and if so, is it accepted, is it
rejected, or does it have its metric set to 10 before being accepted? Think carefully, and
consider how longest matching is performed, along with how the match type comes
into play.
If you answered “The route does not match, and is neither accepted, nor rejected, and
no metric modification is made,” give yourself a well-deserved pat on the back."
The book says that the route (200.0.67.0/24) will not be 'catched' by this route filter. But it's clearly that the route filter terms first entry will catch the route and reject it "(route-filter 200.0.0.0/16 longer reject)".
do i'm missing something here?
Thanks..