Courseiva

JN0-106 Junos Configuration Basics Practice Question

Exhibit

Refer to the exhibit.

user@router> show configuration interfaces ge-0/0/1
unit 0 {
    family inet {
        address 10.0.0.1/24;
        address 10.0.0.2/24;
    }
}
unit 1 {
    family inet {
        address 10.0.1.1/24;
    }
}

user@router> show configuration interfaces ge-0/0/1 unit 0
family inet {
    address 10.0.0.1/24;
    address 10.0.0.2/24;
}

Refer to the exhibit. An administrator wants to remove the address 10.0.0.2/24 from unit 0. Which configuration mode command achieves this without affecting other configuration?

⚠ Common exam trap

Candidates often confuse deleting the entire unit or address family with deleting a single address, leading them to choose options that remove more configuration than intended, which is a common mistake in Junos hierarchical configuration management.

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

✓

delete interfaces ge-0/0/1 unit 0 family inet address 10.0.0.2/24

The command `delete interfaces ge-0/0/1 unit 0 family inet address 10.0.0.2/24` specifically removes only the IPv4 address 10.0.0.2/24 from the logical unit 0, leaving all other configuration (such as other addresses, VLAN tagging, or protocol families) intact. In Junos, addresses are hierarchical under `family inet address`, and deleting a specific address entry does not affect sibling addresses or the unit itself.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    delete interfaces ge-0/0/1 unit 0

    Why it's wrong here

    This command removes the entire logical unit 0 from the interface hierarchy. All protocol families, addresses, and interface-specific properties such as VLAN tagging or MTU are deleted. Since the goal is to remove only the 10.0.0.2/24 address, this is excessively destructive and would also disconnect any other configuration on that unit.

  • ✗

    delete interfaces ge-0/0/1 unit 0 family inet address

    Why it's wrong here

    This statement targets the entire 'address' list under family inet. If unit 0 has a primary address, secondary addresses, or additional IPv4 addresses from other operations, every one of them is removed. The correct approach is to identify the specific prefix; deleting the whole address tree causes unintended loss of other addressing.

  • ✓

    delete interfaces ge-0/0/1 unit 0 family inet address 10.0.0.2/24

    Why this is correct

    Junos treats addresses under 'family inet' as a list of prefix-form entries. By specifying '10.0.0.2/24' with the exact prefix length, the delete operation becomes a subtraction from that list, affecting only that entry. Any other addresses on unit 0 remain untouched; this precisely matches the administrator's intention.

  • ✗

    delete interfaces ge-0/0/1 unit 1 family inet address 10.0.0.2/24

    Why it's wrong here

    This command targets unit 1, not unit 0. Logical units are independent configuration nodes; the address 10.0.0.2/24 resides on unit 0. Applying a delete to unit 1 either produces an error because no such address exists there, or if present, removes an entirely different address, leaving the intended one in place.

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

Courseiva writes every JN0-106 question from scratch — 326 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This JN0-106 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 JN0-106 exam.