H12-811 Exam QuestionsBrowse all questions from this exam

H12-811 Exam - Question 49


As shown in the following figure, the router uses a sub-interface as the gateway of the host and the IP address of the gateway is 10.0.12.2. Which of the following commands can be used to meet this requirement?

Exam H12-811 Question 49
Show Answer
Correct Answer: A

To configure a sub-interface on the router for VLAN 20 with the IP address 10.0.12.2, the command set must reference the correct sub-interface identifier, which is typically derived from the VLAN ID itself. The correct configuration is achieved by using the sub-interface 'GigabitEthernet0/0/0.20' and specifying the VLAN ID 20. This matches the VLAN configuration provided, ensuring proper routing for devices in that VLAN. Therefore, the correct commands are to configure 'interface GigabitEthernet0/0/0.20', use 'dot1q termination vid 20' for VLAN tagging, and assign the IP address 10.0.12.2 with the corresponding subnet mask.

Discussion

6 comments
Sign in to comment
NaCinOption: A
Mar 17, 2023

The answer is A. because the vlan ID 20 is used by the interfaz of the host.

IBB90704
Jan 12, 2024

Deberia ser la vlan 20 asignada a la interface Gi0/0/2 pero no aparece en las opciones.

izzraihanOption: A
Feb 2, 2023

I think the Answer is A, because the VLAN ID 20 is assigned to host.

buggybombastis10
May 12, 2023

The answer is A

Uzzi1222
Dec 26, 2023

interface number is wrong, so we can't save tell.

iitc_duo
Jun 15, 2024

The answer is A, As per the exhibit the sub interface should be interface GigabitEthernet0/0/2.20