Question 460
At an enterprise core exchanging BGP routes over redundant WAN paths, a Junos specialist investigates this scenario: A transit neighbor sends several unwanted networks and the receiving Junos router must accept only approved prefixes. The chosen route must have a valid data-plane next hop. For which use case is this feature the best match?
Explanation
Correct Answer
For an enterprise core exchanging BGP routes over redundant WAN paths, this mechanism fits the requirement: Use BGP import policy to control external route acceptance. The design is appropriate because: A BGP import policy determines which incoming route advertisements are accepted into the routing table. In this scenario, the observed issue is: A transit neighbor sends several unwanted networks and the receiving Junos router must accept only approved prefixes. The corresponding implementation is: Attach a scoped import policy matching authorized prefixes and explicitly rejecting prohibited ones.
Incorrect Answers
BGP export policy controls which eligible active routes the speaker announces to selected neighbors. The appropriate correction for the reported case is: Attach a scoped import policy matching authorized prefixes and explicitly rejecting prohibited ones.
Junos normally exports active routes; supported advertise-inactive can announce an eligible inactive BGP route in some cases. Fixing that different mechanism would not address the current root cause: a BGP import policy determines which incoming route advertisements are accepted into the routing table.
BGP MED can signal a preferred ingress point to a neighboring AS subject to the neighbor's selection policy. Its verification is distinct from the reported condition: A transit neighbor sends several unwanted networks and the receiving Junos router must accept only approved prefixes. The chosen route must have a valid data-plane next hop.