Question 333 of 2,152
Device ManagementmediumMultiple ChoiceObjective-mapped

BGP Route-Map: Setting MED for All Routes

This 300-410 practice question tests your understanding of device management. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Consider the following partial configuration on router R6:

router bgp 65001

bgp router-id 6.6.6.6

neighbor 10.0.0.2 remote-as 65002
 neighbor 10.0.0.2 route-map SET-MED out

! route-map SET-MED permit 10 set metric 50

What is the effect of this configuration?

Quick Answer

The answer is that the route-map will set the MED to 50 for all routes advertised to neighbor 10.0.0.2, and all routes will be advertised. This works because a route-map with a permit sequence and no match clause implicitly matches all routes, making the set metric 50 action apply universally to every prefix in the outbound update. On the Cisco CCNP ENARSI 300-410 exam, this scenario tests your understanding that a match clause is optional in a route-map; omitting it does not deny routes but simply applies the set action to everything. A common trap is assuming a missing match clause will block routes, but in BGP, a permit without match is a catch-all. Remember the memory tip: "No match means all catch" — the route-map permits everything and applies the set command, so MED is set for every route without filtering.

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-map will set the MED to 50 for all routes advertised to neighbor 10.0.0.2, and all routes will be advertised.

Option B is correct because the route-map SET-MED is applied as an outbound route-map on the BGP neighbor 10.0.0.2. Since the route-map has a permit statement with no match clause, it implicitly matches all routes. The set metric 50 command then sets the MED (Multi-Exit Discriminator) to 50 for all routes advertised to that neighbor. All routes are still advertised because the route-map does not contain any deny statements or match conditions that would filter them.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Only routes that match a specific prefix will have MED set to 50; other routes will not be advertised.

    Why it's wrong here

    Without a match clause, the route-map permits all routes. All routes will have MED set to 50 and will be advertised.

  • The route-map will set the MED to 50 for all routes advertised to neighbor 10.0.0.2, and all routes will be advertised.

    Why this is correct

    The route-map has no match, so it matches all routes. The set metric command applies to all matched routes, setting MED to 50.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The configuration is invalid because the route-map must have a match clause.

    Why it's wrong here

    Route-maps can have no match clause; they then match all routes. This is valid.

  • The MED will only be set if the neighbor is also configured with a route-map for inbound updates.

    Why it's wrong here

    The route-map is applied outbound, so it affects routes sent to the neighbor. No inbound route-map is required.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume a route-map must have a match clause to be valid, but Cisco permits a route-map with only a set clause, which then applies to all routes matched by the permit statement.

Detailed technical explanation

How to think about this question

In BGP, the MED is an optional non-transitive attribute that influences inbound traffic to an AS by suggesting a preferred entry point. When a route-map with set metric is applied outbound, the MED value is inserted into the UPDATE message before transmission. If no match clause exists, the route-map's permit statement acts as a catch-all, applying the set action to all routes. This is a common technique to influence path selection in multi-homed scenarios without filtering routes.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A network engineer at a university connects two campus buildings via a fibre link. Both routers run OSPF, but no adjacency forms — even though both routers can ping each other. The engineer finds one router is in area 0 and the other in area 1. OSPF adjacency requires matching area numbers, hello/dead timers, and network type. IP reachability alone is not enough.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 300-410 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 300-410 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 300-410 question test?

Device Management — This question tests Device Management — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The route-map will set the MED to 50 for all routes advertised to neighbor 10.0.0.2, and all routes will be advertised. — Option B is correct because the route-map SET-MED is applied as an outbound route-map on the BGP neighbor 10.0.0.2. Since the route-map has a permit statement with no match clause, it implicitly matches all routes. The set metric 50 command then sets the MED (Multi-Exit Discriminator) to 50 for all routes advertised to that neighbor. All routes are still advertised because the route-map does not contain any deny statements or match conditions that would filter them.

What should I do if I get this 300-410 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More 300-410 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.