Courseiva
Layer 2 Switching And VLANshardMultiple ChoiceObjective-mapped

JNCIS-ENT Layer 2 Switching And VLANs Practice Question

An engineer must configure an EX Series switch trunk port to allow all VLANs while explicitly blocking VLAN 50. Which Junos configuration statement accomplishes this behavior?

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 interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk vlan members all except 50

To allow all VLANs except a specific one on a trunk port, you use the member-all statement followed by the except member statement.

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 interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk vlan members except [ 50 ]

    Why it's wrong here

    This statement is incomplete; you must specify 'member-all except 50' or list the specific permitted members.

  • set interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk vlan members all except 50

    Why this is correct

    Correct syntax for allowing all VLANs except VLAN 50 on a trunk port.

  • set interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk vlan members remove 50

    Why it's wrong here

    The 'remove' keyword is not used to prune specific VLANs from a trunk member list.

  • set interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk vlan members [ 1-4094 ] drop 50

    Why it's wrong here

    The 'drop' keyword is not valid in this context within Junos interface configuration.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

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 →

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 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.