Configuring IP Address for Gigabit Ethernet Interface - JN0-102 Exam | Juniper Networks Certified Associate Junos

Commands for Configuring IP Address on Gigabit Ethernet Interface

Prev Question Next Question

Question

Which two commands may be used when configuring an IP address for a Gigabit Ethernet interface? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BC

To configure an IP address for a Gigabit Ethernet interface on a Juniper device, you can use the following two commands:

  1. set interfaces ge-0/0/0.0 family inet address 10.1.1.1/24
  2. set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.1/24

Explanation:

A. set interfaces ge-0/0/0.0 address 10.1.1.1/24 - This command is invalid because it doesn't specify the family type of the interface, which is required in Junos.

B. set interfaces ge-0/0/0.0 family inet address 10.1.1.1/24 - This command specifies the family type of the interface as "inet", which is required in Junos. The IP address 10.1.1.1/24 is also specified correctly. This command is valid and can be used to configure the IP address for a Gigabit Ethernet interface.

C. set interfaces ge-0/0/0 unit 0 family inet address 10.1.1.1/24 - This command specifies the unit number of the interface as "0", which is required in Junos. The family type of the interface is also specified as "inet". The IP address 10.1.1.1/24 is also specified correctly. This command is valid and can be used to configure the IP address for a Gigabit Ethernet interface.

D. set interfaces ge-0/0/0 address 10.1.1.1/24 - This command is invalid because it doesn't specify the family type of the interface or the unit number, which are required in Junos.

In summary, options B and C are the correct commands that can be used to configure an IP address for a Gigabit Ethernet interface in Junos.