Courseiva
Ethernet Switching And Spanning TreehardMultiple ChoiceObjective-mapped

JNCIP-ENT Ethernet Switching And Spanning Tree Practice Question

An enterprise network runs MSTP across an EX Series core. An administrator wants to ensure that a specific core port never becomes the root port for any MSTI, protecting the upstream core path. Which command achieves 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 mstp interface ge-0/0/0 no-root-port

Root protection in MSTP is enabled via the 'no-root-port' or 'root-protection' statement under interface configuration in MSTP. In Junos, 'no-root-port' is used.

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 mstp interface ge-0/0/0 no-root-port

    Why this is correct

    The 'no-root-port' statement ensures the interface is never selected as a root port.

  • set protocols mstp interface ge-0/0/0 root-guard

    Why it's wrong here

    MSTP in Junos uses 'no-root-port' rather than 'root-guard' for this specific behavior.

  • set protocols mstp interface ge-0/0/0 priority 0

    Why it's wrong here

    Setting priority to 0 makes the port more likely to be chosen as root, which is the opposite of protection.

  • set protocols mstp interface ge-0/0/0 restrict-role root

    Why it's wrong here

    This is not a valid Junos CLI syntax.

About these practice questions

One of 332 original JNCIP-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 →

How Courseiva writes practice questions · Editorial policy

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 JNCIP-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 JNCIP-ENT exam.