Click the Exhibit button.
Referring to the exhibit, OSPF has three export policies that match different static route prefixes. The 10.10.10.0/24 static route does not match any terms in the policy1 routing policy.
What happens next in this scenario?
Click the Exhibit button.
Referring to the exhibit, OSPF has three export policies that match different static route prefixes. The 10.10.10.0/24 static route does not match any terms in the policy1 routing policy.
What happens next in this scenario?
If a static route does not match any terms in the first routing policy (policy1), it is then evaluated by the next policy in the sequence, which in this case is policy2. Therefore, the static route 10.10.10.0/24 will be evaluated by the policy2 routing policy. This sequential evaluation continues until the route matches a policy term or the routing policies are exhausted.
In Junos, when multiple policies are applied to a routing protocol for route export, the routes are evaluated in the order in which the policies are listed. In the exhibit, the OSPF configuration has three export policies listed: policy1, policy2, and policy3. The static route 10.10.10.0/24 does not match any terms in policy1; therefore, it is not rejected by policy1 but is instead passed on to the next policy in the sequence, which is policy2. If the static route matches a term in policy2 that permits the route, it will be exported into OSPF. If it does not match in policy2, it will then be evaluated by policy3. If there is no match in policy3 as well, and assuming there are no more policies listed, the route would then be subject to the default routing policy behavior, which typically rejects the route unless an explicit accept statement is present in the policies.
rejected by default route policy since no match on any of the policies
does not match policy1, so it gets evaluated by policy2
Answer is C The static route is evaluated by the policy2 routing policy