nerdexam
Juniper

JN0-102 · Question #300

Referring to the exhibit, which command would you use to add an additional address to the ge- 0/0/9.0 interface? interfaces { ge-0/0/8 { unit 0 { family inet { address 192.168.1.1/24; } } } ge-0/0/9 {

The correct answer is A. [edit interfaces ge-0/0/9 unit 0]. To add an additional IP address to a Junos interface, you must navigate to the appropriate configuration hierarchy for that interface and then use the set command.

Configuration Basics

Question

Referring to the exhibit, which command would you use to add an additional address to the ge- 0/0/9.0 interface? interfaces { ge-0/0/8 { unit 0 { family inet { address 192.168.1.1/24; } } } ge-0/0/9 { unit 0 { family inet { address 192.168.10.1/24; } } } }

Options

  • A[edit interfaces ge-0/0/9 unit 0]
  • B[edit interfaces ge-0/0/9 unit 0]
  • C[edit interfaces ge-0/0/9 unit 0]
  • D[edit interfaces ge-0/0/9 unit 0]

How the community answered

(42 responses)
  • A
    71% (30)
  • B
    7% (3)
  • C
    5% (2)
  • D
    17% (7)

Why each option

To add an additional IP address to a Junos interface, you must navigate to the appropriate configuration hierarchy for that interface and then use the `set` command.

A[edit interfaces ge-0/0/9 unit 0]Correct

To add an additional IP address to the `ge-0/0/9.0` interface, you would first navigate to the `[edit interfaces ge-0/0/9 unit 0]` configuration hierarchy. From this level, you can then issue the `set family inet address <new-ip>/<mask>` command to add the new IP address.

B[edit interfaces ge-0/0/9 unit 0]

All options provided are identical, `[edit interfaces ge-0/0/9 unit 0]`, which represents a Junos configuration mode hierarchy. If only one answer is correct among identical options, it implies a meta-question about selecting 'the' correct path, which is redundant when all paths are the same.

C[edit interfaces ge-0/0/9 unit 0]

All options provided are identical, `[edit interfaces ge-0/0/9 unit 0]`, which represents a Junos configuration mode hierarchy. If only one answer is correct among identical options, it implies a meta-question about selecting 'the' correct path, which is redundant when all paths are the same.

D[edit interfaces ge-0/0/9 unit 0]

All options provided are identical, `[edit interfaces ge-0/0/9 unit 0]`, which represents a Junos configuration mode hierarchy. If only one answer is correct among identical options, it implies a meta-question about selecting 'the' correct path, which is redundant when all paths are the same.

Concept tested: Junos configuration hierarchy and adding interface IP addresses

Source: https://www.juniper.net/documentation/us/en/software/junos/interfaces-app-prot/topics/task/interfaces-configuring-ethernet-interfaces-cli.html

Topics

#Junos CLI#interface configuration#IP addressing#set command

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice