Juniper JN0-102 Exam: Adding Additional Address to ge-0/0/9.0 Interface

How to Add an Additional Address to the ge-0/0/9.0 Interface

Prev Question Next Question

Question

-- Exhibit --

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;

}

}

}

}

-- Exhibit --

Referring to the exhibit, which command would you use to add an additional address to the ge-0/0/9.0 interface?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The correct command to add an additional address to the ge-0/0/9.0 interface is:

C. [edit interfaces ge-0/0/9 unit 0] user@router# set family inet address /24 secondary

Explanation:

In Junos OS, an interface can have multiple IP addresses assigned to it. To add an additional address to the ge-0/0/9.0 interface, we need to use the "set" command under the appropriate hierarchy level.

The hierarchy level for configuring the ge-0/0/9.0 interface is:

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

To add an additional address, we need to use the "family inet address" command followed by the new IP address and subnet mask. However, since this is an additional address, we also need to use the "secondary" keyword at the end of the command.

Therefore, the complete command to add an additional address to the ge-0/0/9.0 interface is:

[edit interfaces ge-0/0/9 unit 0] user@router# set family inet address /24 secondary

Option A is incorrect because it is missing the "secondary" keyword.

Option B is incorrect because it is using the "secondary-address" keyword instead of the "address" keyword.

Option D is incomplete and does not specify the command to add an additional address.