mediumMultiple Choice
300-410 Practice Question: Consider the following BGP configuration on…
Consider the following BGP configuration on router R5:
router bgp 65005
bgp router-id 5.5.5.5
neighbor 10.5.5.6 remote-as 65006 neighbor 10.5.5.6 route-map SET-LP in
! route-map SET-LP permit 10 set local-preference 150 !
What is the result of this configuration?
⚠ Common exam trap
It's easy for candidates to confuse inbound and outbound route-map direction, or assuming a match clause is required for a route-map to take effect. Many candidates mistakenly think local preference can only be set outbound or that a prefix-list is needed to match all routes.
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
✓
All routes from 10.5.5.6 have their local preference set to 150, making them more preferred.
The route-map SET-LP is applied inbound on neighbor 10.5.5.6, and it contains a single permit statement with no match clauses. Therefore, all routes received from that neighbor match the route-map and have their local preference set to 150. Since the default local preference is 100, these routes become more preferred in BGP best-path selection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
All routes from 10.5.5.6 have their local preference set to 150, making them more preferred.
Why this is correct
The inbound route-map SET-LP applies local-preference 150 to every route learned from neighbour 10.5.5.6. Local preference is exchanged only within the local autonomous system, so these routes become preferred over any path with the default value of 100 during best-path selection.
- ✗
Only routes that match a prefix-list are affected; otherwise, default local preference is used.
Why it's wrong here
The route-map has no match clause, so every inbound route from 10.5.5.6 is permitted and receives local preference 150; no prefix-list filters anything. It is tempting because route-maps commonly pair with match statements, but here the absent match means an implicit match-all, not a default fallback.
- ✗
Local preference is set to 150 for routes sent to 10.5.5.6.
Why it's wrong here
The route-map is applied inbound on the neighbour, so local preference is set on routes received from 10.5.5.6, not on routes advertised to it. It is tempting because local preference does influence outbound path selection, but it is an inbound attribute that must be set on received updates.
- ✗
The route-map is ignored because local-preference can only be set outbound.
Why it's wrong here
Local preference is a well-known discretionary attribute legitimately set inbound on eBGP sessions via a route-map, so the statement takes effect and raises preference for routes from 10.5.5.6. Outbound setting applies to attributes such as MED or AS-path; local preference is never sent to external peers.
Go deeper
Related to this question
About these practice questions
This 300-410 question is part of Courseiva's 1,401-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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
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.