mediumMultiple Choice
300-410 Practice Question: Given this configuration on router R2: ``` ip vrf…
Given this configuration on router R2: ```
ip vrf CUSTOMER_D
rd 100:1 !
interface GigabitEthernet0/0 ip vrf forwarding CUSTOMER_D ip address 192.168.2.1 255.255.255.0
!
router ospf 1 vrf CUSTOMER_D network 192.168.2.0 0.0.0.255 area 0
``` What will happen when this configuration is applied?
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
✓
OSPF will run on GigabitEthernet0/0 and form adjacencies within VRF CUSTOMER_D.
The OSPF process is tied to VRF CUSTOMER_D, so it only runs on interfaces that belong to that VRF. The network command matches the interface, so OSPF will form adjacencies on that interface within the VRF.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
OSPF will run on GigabitEthernet0/0 and form adjacencies within VRF CUSTOMER_D.
Why this is correct
The interface is bound to VRF CUSTOMER_D via ip vrf forwarding, and OSPF process 1 is likewise VRF-scoped, so its network statement activates OSPF on GigabitEthernet0/0. Adjacencies form only with neighbours inside that VRF, isolating customer routing.
- ✗
OSPF will fail because the OSPF process must be configured globally, not under the VRF.
Why it's wrong here
Cisco IOS supports per-VRF OSPF processes through the 'router ospf <id> vrf <name>' syntax, so the process starts normally within CUSTOMER_D. It is tempting because OSPF is often described as a global routing process, yet VRF-aware OSPF is standard for MPLS L3VPN customers.
- ✗
OSPF will run on all interfaces, including those not in VRF CUSTOMER_D.
Why it's wrong here
The 'router ospf 1 vrf CUSTOMER_D' command scopes the process to that VRF, so only interfaces assigned to CUSTOMER_D participate; interfaces outside it are excluded. It is tempting because a global 'router ospf 1' without the vrf keyword would indeed run OSPF on all non-VRF interfaces.
- ✗
The network command is invalid because it uses a wildcard mask instead of a subnet mask.
Why it's wrong here
OSPF network statements require wildcard masks, and 0.0.0.255 is a valid wildcard matching 192.168.2.0/24, so the command is accepted. It is tempting because wildcard masks look inverted relative to subnet masks, but OSPF has always used this format.
Visual reference
Quick reference
Routing Protocol Comparison
| Protocol | Metric | Max Hops | Algorithm | Type |
|---|---|---|---|---|
| RIP v2 | Hop count | 15 | Bellman-Ford | Distance vector |
| OSPF | Cost (bandwidth) | Unlimited | Dijkstra (SPF) | Link state |
| EIGRP | Composite metric | Unlimited | DUAL | Hybrid |
| IS-IS | Cost | Unlimited | Dijkstra | Link state |
| BGP | Policy / attributes | Unlimited | Path vector | Path vector |
RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.
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 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.