Which two are correct when configuring an IP address for a Fast Ethernet interface? (Choose two.)
Click on the arrows to vote for the correct answer
A. B. C. D.BD
D: The following configuration is sufficient to get a Fast Ethernet interface up and running. By default, IPv4 Fast Ethernet interfaces use Ethernet version 2 encapsulation.
[edit]
user@host# set interfaces fe-5/2/1 unit 0 family inet address local-address
B: You can alos omit the unit specification, here unit 0, and set the ip address through the command: set interfaces fe-0/0/0.0 family inet address local-address
When configuring an IP address for a Fast Ethernet (FE) interface on a Juniper device, there are a few important considerations to keep in mind.
First, the interface needs to be identified correctly. On Juniper devices, interface names consist of three parts: the type of interface (e.g., "fe" for Fast Ethernet), the slot number (e.g., "0"), and the port number (e.g., "0"). So, "fe-0/0/0" refers to the first Fast Ethernet port on the first card in the chassis.
Second, you need to specify the address family for the interface. Juniper devices support multiple address families, including IPv4, IPv6, and MPLS. In this case, we want to configure an IPv4 address, so we need to specify the "family inet" address family.
Finally, we need to specify the actual IP address and subnet mask. Juniper devices use CIDR notation to specify subnet masks, so "/24" indicates a subnet mask of 255.255.255.0.
With these considerations in mind, let's look at the answers:
A. set interfaces fe-0/0/0 address 10.1.1.1/24 This command is missing the "family inet" statement, so it will not work. The correct command would be "set interfaces fe-0/0/0 unit 0 family inet address 10.1.1.1/24".
B. set interfaces fe-0/0/0.0 family inet address 10.1.1.1/24 This command is correct. It specifies the interface, the address family, and the IP address and subnet mask.
C. set interfaces fe-0/0/0.0 address 10.1.1.1/24 This command is missing the "family inet" statement, so it will not work. The correct command would be "set interfaces fe-0/0/0 unit 0 family inet address 10.1.1.1/24".
D. set interfaces fe-0/0/0 unit 0 family inet address 10.1.1.1/24 This command is correct. It specifies the interface, the unit (which is always 0 for Fast Ethernet interfaces), the address family, and the IP address and subnet mask.
Therefore, the correct answers are B and D.