JNCIS-ENT OSPF Practice Question
An administrator needs to modify the OSPF cost on a specific Junos interface to influence traffic engineering without changing the reference bandwidth globally. Which command accomplishes this?
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
✓
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 metric 50
OSPF interface cost can be explicitly overridden on a per-interface basis using the 'metric' parameter under the interface configuration hierarchy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 cost 50
Why it's wrong here
Incorrect. The correct keyword in Junos OSPF interface configuration is 'metric', not 'cost'.
- ✗
set protocols ospf reference-bandwidth 10g
Why it's wrong here
Incorrect. Reference-bandwidth is a global OSPF parameter, not per-interface.
- ✓
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 metric 50
Why this is correct
Correct. The metric statement overrides the calculated cost for that specific interface.
- ✗
set interfaces ge-0/0/2.0 ospf-cost 50
Why it's wrong here
Incorrect. This is not the valid Junos configuration path for OSPF interface cost.
Visual reference
About these practice questions
One of 506 original JNCIS-ENT practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIS-ENT practice question is part of Courseiva's free Juniper Networks 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 JNCIS-ENT exam.