Question 130
While validating a Junos routing or switching task, the team finds: An OSPF route appears from a neighbor but a router must reject it before installation, and an engineer creates an export policy instead. What ongoing control would best prevent the same failure?
Explanation
Correct Answer
This safeguards against junos routing policy import direction: Import routing policies control evaluation of routes being learned into an appropriate routing table, not advertisements sent outward. Preventing recurrence requires: Document import versus export direction before using policy changes to filter learned destinations. A general control for a different issue cannot replace it.
Incorrect Answers
This safeguards against routing policy term ordered match: Routing policy terms are evaluated in sequence and a terminating match can prevent evaluation of later intended exceptions. “Order specific policy exceptions carefully and validate route matches before deploying broad terms” would address that alternative cause, not the condition in this question: this safeguards against junos routing policy import direction: Import routing policies control evaluation of routes being learned into an appropriate routing table, not advertisements sent outward.
“Inspect route protocol labels when building redistribution policies rather than treating all local routes alike” responds to this separate finding: this safeguards against routing policy from protocol match: A routing policy from protocol criterion matches routes by their originating route protocol, so direct and static differ. This question instead needs “Document import versus export direction before using policy changes to filter learned destinations”, so the alternative does not meet the stated condition.
This safeguards against junos routing policy export direction: Export routing policies determine which locally eligible routes are advertised to peers by the applicable protocol. “Review outbound advertisements after every change to routing policy and upstream peer scope” applies to that separate problem. The observed case is an OSPF route appears from a neighbor but a router must reject it before installation, and an engineer creates an export policy instead; choosing this alternative would address the wrong failure mode.