Courseiva
hardMultiple ChoiceObjective-mapped

300-410 Practice Question: In an iBGP network, router R1 has: router bgp…

In an iBGP network, router R1 has:

router bgp 65000

bgp bestpath as-path multipath-relax

neighbor 10.1.1.2 route-map SET-MED in

route-map SET-MED permit 10 set metric 50

neighbor 10.1.1.3 route-map SET-MED2 in

route-map SET-MED2 permit 10 set metric 100

Router R2 shows:
R2# show ip bgp 192.168.1.0/24

BGP routing table entry for 192.168.1.0/24, version 2 Paths: (2 available, best #2) Path #1: via 10.1.1.1, metric 50 Path #2: via 10.1.1.4, metric 100

R2# show ip route 192.168.1.0

Routing entry for 192.168.1.0/24 Known via "bgp 65000", distance 200, metric 100 Last update from 10.1.1.4 00:00:10 Serial0/0/1 R2 is choosing the path with higher metric. What is the root cause?

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 path with lower MED is from a different AS, so MED is not compared.

BGP best path selection compares MED only if paths come from the same AS. If the paths have different AS_PATH lengths, MED is ignored. The output shows two paths, but the path via 10.1.1.1 might have a different AS_PATH length. The 'bgp bestpath as-path multipath-relax' allows multipath but does not affect MED comparison. The higher metric path is chosen due to a different tie-breaker (e.g., lower neighbor IP).

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 path with lower MED is from a different AS, so MED is not compared.

    Why this is correct

    MED is only compared between paths from the same AS. The path via 10.1.1.1 might have a different AS_PATH.

  • The route-map on R1 is misconfigured; it should set metric on the neighbor statement.

    Why it's wrong here

    Route-maps applied inbound are correct for setting MED.

  • R2 has a higher local preference for the path via 10.1.1.4.

    Why it's wrong here

    Local preference is not shown; the output indicates metric is the only difference.

  • The 'bgp bestpath as-path multipath-relax' command causes MED to be ignored.

    Why it's wrong here

    This command only affects multipath, not MED comparison.

About these practice questions

This 300-410 question is part of Courseiva's 1,966-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 300-410 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 300-410 exam.