- A
Configure the 'domain-id' under the OSPF process in the VRF.
Correct because the domain-id prevents routes from being redistributed back into the customer's OSPF domain.
- B
Configure a sham-link between the PE routers.
Why wrong: Incorrect because sham-links are used for backdoor links, not to prevent redistribution.
- C
Use the 'capability vrf-lite' command under OSPF.
Why wrong: Incorrect because vrf-lite is used for non-MPLS environments.
- D
Apply a route-map to filter routes redistributed into OSPF.
Why wrong: Incorrect because route-maps can filter, but the domain-id is the standard method.
Quick Answer
The correct answer is to configure the domain-id under the OSPF process within the VRF on the PE router. This OSPF attribute, known as the domain-id, is used in MPLS L3VPN to tag routes originating from the customer’s OSPF domain, preventing them from being redistributed back into that same domain when they return from the MPLS backbone. Without this tag, the PE router would treat the VPNv4 routes as external and could re-inject them, causing routing loops. On the ENCOR 350-401 exam, this concept tests your understanding of OSPF route redistribution control in a service provider context, often appearing as a distractor where options like sham-link or VRF-lite seem plausible. A common trap is confusing domain-id with sham-link, which is used for backdoor links, not loop prevention. Remember: domain-id keeps OSPF routes from coming back home—think of it as a “do not re-enter” stamp for your customer’s routing domain.
CCNP MPLS Practice Question
This 350-401 practice question tests your understanding of mpls. 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.
An engineer is configuring MPLS L3VPN with OSPF as the PE-CE protocol. The customer wants to ensure that routes from the MPLS backbone are not redistributed back into the customer's OSPF domain. What configuration should the engineer apply on the PE router?
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
Configure the 'domain-id' under the OSPF process in the VRF.
In MPLS L3VPN, the 'domain-id' OSPF attribute prevents redistribution of routes from the backbone into the customer's OSPF domain. Option A is correct. Option B is wrong because 'sham-link' is for backdoor links; Option C is wrong because 'capability vrf-lite' is for VRF-lite; Option D is wrong because 'redistribute connected' is not related.
Key principle: OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure the 'domain-id' under the OSPF process in the VRF.
- ✗
Configure a sham-link between the PE routers.
Why it's wrong here
Incorrect because sham-links are used for backdoor links, not to prevent redistribution.
- ✗
Use the 'capability vrf-lite' command under OSPF.
Why it's wrong here
Incorrect because vrf-lite is used for non-MPLS environments.
- ✗
Apply a route-map to filter routes redistributed into OSPF.
Why it's wrong here
Incorrect because route-maps can filter, but the domain-id is the standard method.
Common exam traps
Common exam trap: OSPF can fail even when IP connectivity looks correct
OSPF neighbour formation depends on matching areas, timers, network type, authentication and passive-interface behaviour. Do not choose an answer only because the devices can ping.
Detailed technical explanation
How to think about this question
OSPF questions usually test the details that control adjacency and route selection. Read the neighbour state, area, router ID and interface configuration before deciding what is wrong.
KKey Concepts to Remember
- OSPF neighbours must agree on key parameters.
- Router ID selection can affect neighbour relationships and LSDB output.
- OSPF cost influences the preferred path.
- A route can appear in OSPF information but not become the installed route.
TExam Day Tips
- Check area mismatch first when OSPF adjacency fails.
- Review passive interfaces when a network is advertised but no neighbour forms.
- Use show ip ospf neighbor and show ip route clues carefully.
Key takeaway
OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.
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.
What to study next
Got this wrong? Here's your next step.
Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 350-401 OSPF questions on adjacency and route selection.
- →
MPLS — study guide chapter
Learn the concepts, then practise the questions
- →
MPLS practice questions
Targeted practice on this topic area only
- →
All 350-401 questions
2,015 questions across all exam domains
- →
ENCOR 350-401 study guide
Full concept coverage aligned to exam objectives
- →
350-401 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 350-401 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Architecture practice questions
Practise 350-401 questions linked to Architecture.
Enterprise Network Design practice questions
Practise 350-401 questions linked to Enterprise Network Design.
SD-Access Architecture practice questions
Practise 350-401 questions linked to SD-Access Architecture.
SD-WAN Architecture practice questions
Practise 350-401 questions linked to SD-WAN Architecture.
QoS Architecture practice questions
Practise 350-401 questions linked to QoS Architecture.
Virtualization practice questions
Practise 350-401 questions linked to Virtualization.
Network Function Virtualization practice questions
Practise 350-401 questions linked to Network Function Virtualization.
Virtual Machines and Hypervisors practice questions
Practise 350-401 questions linked to Virtual Machines and Hypervisors.
VRF and Path Isolation practice questions
Practise 350-401 questions linked to VRF and Path Isolation.
Infrastructure practice questions
Practise 350-401 questions linked to Infrastructure.
OSPF practice questions
Practise 350-401 questions linked to OSPF.
BGP practice questions
Practise 350-401 questions linked to BGP.
Practice this exam
Start a free 350-401 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 350-401 question test?
MPLS — This question tests MPLS — OSPF neighbours must agree on key parameters..
What is the correct answer to this question?
The correct answer is: Configure the 'domain-id' under the OSPF process in the VRF. — In MPLS L3VPN, the 'domain-id' OSPF attribute prevents redistribution of routes from the backbone into the customer's OSPF domain. Option A is correct. Option B is wrong because 'sham-link' is for backdoor links; Option C is wrong because 'capability vrf-lite' is for VRF-lite; Option D is wrong because 'redistribute connected' is not related.
What should I do if I get this 350-401 question wrong?
Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 350-401 OSPF questions on adjacency and route selection.
What is the key concept behind this question?
OSPF neighbours must agree on key parameters.
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 →
Last reviewed: Jun 18, 2026
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.
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.
Sign in to join the discussion.