mediumMultiple Choice
300-410 Practice Question: Given the following configuration on a router:…
Given the following configuration on a router: ```
router ospf 1
distance 150 ``` What is the effect of this configuration?
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
✓
It sets the administrative distance for OSPF routes to 150, overriding the default of 110.
This command sets the administrative distance for all OSPF routes to 150, overriding the default of 110.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It sets the administrative distance for OSPF routes to 150, but only for intra-area routes.
Why it's wrong here
The distance 150 command applies to all OSPF routes regardless of area type, not only intra-area routes; intra-area distance is set with distance ospf intra-area. It is tempting because OSPF supports separate administrative distances per route type, but the bare distance command sets the default for every OSPF route.
- ✓
It sets the administrative distance for OSPF routes to 150, overriding the default of 110.
Why this is correct
The distance 150 command under router ospf 1 changes OSPF's administrative distance from its default 110 to 150 for routes learned via that process. Lower values are preferred, so OSPF routes become less trusted than before in the routing table selection.
- ✗
It sets the administrative distance for OSPF external routes to 150.
Why it's wrong here
The distance 150 command sets the administrative distance for all OSPF routes, not only external ones; external routes are controlled with distance ospf external. It is tempting because OSPF does allow separate distances for external routes, but that requires the external keyword, which is absent here.
- ✗
It sets the administrative distance for OSPF routes to 150, but only for routes learned from a specific neighbor.
Why it's wrong here
The distance command under router ospf sets a default administrative distance for all OSPF routes, not a per-neighbour value; neighbour-specific distance requires the distance ospf neighbour syntax. It is tempting because OSPF does support per-neighbour administrative distance, but that needs the explicit neighbour keyword.
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
Courseiva writes every 300-410 question from scratch — 1,401 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.