H12-311_V3.0 · Question #113
Which of the following commands is to add GE 0/0/1 port of Huawei access switch to VLAN100?
The correct answer is A. interface GigabitEthernet 0/0/1 port link-type access. Option A is correct because an access port (port link-type access) is used to connect end devices such as computers or IP phones to a single VLAN, making it the appropriate choice for adding a port to VLAN100 on an access switch. The complete configuration on Huawei VRP also…
Question
Which of the following commands is to add GE 0/0/1 port of Huawei access switch to VLAN100?
Options
- Ainterface GigabitEthernet 0/0/1 port link-type access
- Binterface GigabitEthernet 0/0/1 port link-type access
- Cinterface GigabitEthernet 0/0/1 port link-type trunk
- Dinterface GigabitEthernet 0/0/1 port link-type trunk
How the community answered
(16 responses)- A75% (12)
- B13% (2)
- C6% (1)
- D6% (1)
Explanation
Option A is correct because an access port (port link-type access) is used to connect end devices such as computers or IP phones to a single VLAN, making it the appropriate choice for adding a port to VLAN100 on an access switch. The complete configuration on Huawei VRP also requires "port default vlan 100" after setting the link type, but among the given options, access mode is the right link type for this scenario.
Options C and D specify trunk link type, which is used for inter-switch or switch-to-router links that need to carry traffic for multiple VLANs simultaneously using 802.1Q tagging - not for assigning a single port to one VLAN. Options A and B appear identical in the question as presented, likely due to a formatting issue where part of the command was cut off, but the distinguishing factor across all choices is access versus trunk.
Memory tip: Think "A for Access, A for a single device" - an access port belongs to one VLAN and connects to end hosts, while a trunk port connects to other network devices and carries many VLANs.
Topics
Community Discussion
No community discussion yet for this question.