Courseiva
hardMultiple Choice

CCNP Practice Question: Is troubleshooting a BGP issue where a router is…

A network engineer is troubleshooting a BGP issue where a router is not installing a specific prefix in its routing table, even though the prefix is present in the BGP table. The engineer runs 'show ip bgp 10.0.0.0/24' and sees that the route is valid but not best. The BGP table shows that the route has a higher local preference than the current best path, but the AS_PATH is longer. What is the most likely reason the route is not being selected as best?

⚠ Common exam trap

Cisco often tests the order of BGP best-path selection steps, specifically that weight is evaluated before local preference, leading candidates to incorrectly assume that a higher local preference always wins regardless of weight.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

The route with higher local preference has a lower weight than the current best path.

BGP selects the best path based on a sequence of comparison steps. Local preference is checked before AS_PATH length, so a higher local preference should normally win. However, weight is the very first criterion in the BGP best-path selection algorithm. If the current best path has a higher weight than the route with higher local preference, weight overrides local preference, making the higher-local-preference route not best.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    The route with higher local preference has a lower weight than the current best path.

    Why this is correct

    Cisco's BGP best-path algorithm evaluates weight first; the highest weight always wins. Since the current best path has a higher weight, it remains selected regardless of local preference, because local preference is only compared after weights are found equal. Thus a higher local preference cannot make a lower-weight route the best path.

  • ✗

    The route with higher local preference has a higher MED value.

    Why it's wrong here

    MED is not considered until later in the path-selection process, after AS_PATH length and origin are compared. Because local preference is evaluated at step 2 and MED is evaluated at step 6, a route with higher local preference would be selected before MED is ever examined. Additionally, a higher MED is actually less preferred, since lower MED is better, but this attribute is never reached when the LP tiebreaker has already decided.

  • ✗

    The route with higher local preference is not synchronized with IGP.

    Why it's wrong here

    BGP synchronization is an old IOS rule requiring an iBGP-learned route to also be present in the IGP before it is advertised to eBGP; it is disabled by default and does not participate in best-path selection. A route that fails synchronization would be deemed invalid and excluded from the RIB, not simply ranked behind the current best path. Since local preference is checked during best-path selection, an unsynchronized route cannot be 'best' with higher LP while the current best path remains valid; the unsynchronized route would be ineligible regardless of LP.

  • ✗

    The route with higher local preference was learned from an eBGP peer, while the current best path is from an iBGP peer.

    Why it's wrong here

    Route source (eBGP versus iBGP) is only compared much later in BGP's decision process, after weight, local preference, AS-path length, origin, and MED. If the candidate has a higher local preference, it would win at the LP step, before the source type is ever evaluated. In fact, eBGP is preferred over iBGP when all earlier steps tie, so learning the higher-LP route from eBGP would make it even more likely to become best, not explain why it loses.

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.