HCIA Datacom VLAN and Inter VLAN Routing Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 16 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. In Huawei switches, which command assigns an access port to VLAN 10?

Explanation

On Huawei switches, configure the physical interface as an access port, then set its default VLAN to 10. Enter `port link-type access` and `port default vlan 10` in the interface view. This places untagged traffic on that port into VLAN 10; the other options configure trunking or a VLAN interface.

Submit
Please wait...
About This Quiz
HCIA Datacom VLAN and Inter VLAN Routing Quiz - Quiz

This quiz evaluates your understanding of VLANs and inter-VLAN routing concepts essential for Huawei HCIA Datacom certification. You will test knowledge of VLAN configuration, tagging mechanisms, routing between VLANs, and related switching technologies. Mastering these concepts is critical for network design and deployment in enterprise environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which statement about VLAN 1 is true?

Explanation

VLAN 1 is the default VLAN on many switches and is created automatically when the switch is initialized. It cannot be deleted, though administrators can assign ports to other VLANs. It is not limited to trunk ports or inter-VLAN routing, and it has no fixed 10-port maximum.

Submit

3. In Huawei switches, the command to configure a trunk port is ______ link-type trunk.

Explanation

On Huawei switches, trunk mode is configured from the interface’s view using `port link-type trunk`. Here, `port` begins the interface command, `link-type` specifies the port’s link mode, and `trunk` sets it to carry traffic for multiple VLANs.

Submit

4. Which protocol is used to dynamically manage VLAN membership across switches?

Explanation

VLAN Trunking Protocol (VTP) shares VLAN configuration information among switches in the same VTP domain. When VLANs are added, changed, or removed on one switch, VTP can propagate those updates to other participating switches, helping keep VLAN membership configurations consistent across the network.

Submit

5. What does STP stand for in the context of VLANs?

Explanation

STP stands for Spanning Tree Protocol. In VLAN environments, it helps prevent Layer 2 switching loops by identifying redundant paths and blocking some of them. If an active path fails, STP can enable a backup path, helping maintain network connectivity.

Submit

6. What is the primary purpose of a VLAN?

Explanation

A VLAN divides a physical network into separate logical broadcast domains. This helps limit broadcast traffic and organize devices into groups without requiring separate physical network hardware.

Submit

7. What is the default native VLAN on a trunk port?

Explanation

On Cisco switches, VLAN 1 is the default native VLAN on a trunk port. Traffic belonging to the native VLAN is sent untagged across the trunk, unless the configuration is changed. Other VLANs are typically identified by VLAN tags, allowing multiple VLANs to share the same link.

Submit

8. Which method uses a router with subinterfaces to perform inter-VLAN routing?

Explanation

Router-on-a-stick uses a single physical router interface divided into logical subinterfaces, typically one per VLAN. A trunk link carries traffic for multiple VLANs between the switch and router, and the router routes packets between those VLANs.

Submit

9. Which port type can carry traffic for multiple VLANs?

Explanation

A trunk port carries traffic for multiple VLANs over a single physical link by tagging Ethernet frames with VLAN identifiers, typically using IEEE 802.1Q. This lets network devices transport traffic from several VLANs while keeping each VLAN’s traffic logically separate. An access port, by contrast, typically belongs to just one VLAN.

Submit

10. What is the valid range of VLAN IDs in IEEE 802.1Q?

Explanation

IEEE 802.1Q uses a 12-bit VLAN identifier field, providing 4,096 possible values. VLAN ID 0 is reserved for priority tagging, and 4095 is reserved, leaving IDs 1 through 4094 available for assigning VLANs.

Submit

11. A ______ switch can perform inter-VLAN routing natively without external routers.

Explanation

A Layer 3 switch combines switching with routing capabilities. It can route traffic between VLANs using its own routing interfaces, so inter-VLAN communication does not require an external router.

Submit

12. What is the primary function of inter-VLAN routing?

Explanation

Inter-VLAN routing forwards traffic between separate VLANs, allowing devices on different VLANs to communicate. Because VLANs are distinct logical networks, this communication requires a Layer 3 device, such as a router or Layer 3 switch.

Submit

13. A port configured as a ______ port carries traffic for only one VLAN.

Explanation

An access port is assigned to a single VLAN and typically carries that VLAN’s traffic without VLAN tags. It is commonly used to connect end devices, such as computers or printers, to a network.

Submit

14. A VLAN ______ is a virtual interface that allows a switch to participate in a VLAN as a host.

Explanation

A VLAN interface is a virtual Layer 3 interface associated with a VLAN. It lets the switch communicate on that VLAN, for example, to support management access or routing between VLANs.

Submit

15. In 802.1Q tagging, how many bits are used for the VLAN ID field?

Explanation

In an IEEE 802.1Q tag, the VLAN Identifier (VID) occupies 12 bits. This provides 4,096 possible bit patterns; values 0 and 4,095 are reserved, leaving 4,094 VLAN IDs available for ordinary VLAN assignment.

Submit

16. What is the maximum number of subinterfaces supported on a Huawei router for inter-VLAN routing?

Explanation

Huawei routers support up to 1024 subinterfaces for inter-VLAN routing, with each subinterface acting as a logical interface associated with a VLAN. Although VLAN IDs can range much higher, the router’s supported subinterface count is a separate platform limit, so the maximum here is 1024.

Submit

17. Which of the following is a benefit of using Layer 3 switches for inter-VLAN routing?

Explanation

Layer 3 switches perform routing directly in hardware, allowing traffic to move between VLANs through the switch’s high-speed internal fabric. This typically provides lower latency and higher throughput than router-on-a-stick, where inter-VLAN traffic must travel through a router over a shared trunk link. VLANs are still needed, and configuration may not be simpler.

Submit

18. What happens when a frame arrives at a trunk port with no VLAN tag?

Explanation

On an 802.1Q trunk, an untagged frame is treated as belonging to the port’s configured native VLAN. The switch then forwards it within that VLAN according to its MAC address and forwarding rules.

Submit

19. Which VLAN ID is reserved for management in Huawei switches?

Explanation

VLAN 1 is the default VLAN on Huawei switches. Ports belong to it by default, and it is commonly used for management traffic in an out-of-the-box configuration. VLANs 100, 2048, and 4094 are available for other purposes; VLAN 1 is the expected choice for the management VLAN in this question.

Submit

20. In inter-VLAN routing, the gateway IP address for a VLAN should be ______ on the routing device.

Explanation

Each VLAN is a separate Layer 3 network, so the routing device needs an IP address associated with each VLAN, typically on a router subinterface or switch virtual interface. Devices in that VLAN use this address as their default gateway to communicate with other VLANs.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In Huawei switches, which command assigns an access port to VLAN 10?
Which statement about VLAN 1 is true?
In Huawei switches, the command to configure a trunk port is ______...
Which protocol is used to dynamically manage VLAN membership across...
What does STP stand for in the context of VLANs?
What is the primary purpose of a VLAN?
What is the default native VLAN on a trunk port?
Which method uses a router with subinterfaces to perform inter-VLAN...
Which port type can carry traffic for multiple VLANs?
What is the valid range of VLAN IDs in IEEE 802.1Q?
A ______ switch can perform inter-VLAN routing natively without...
What is the primary function of inter-VLAN routing?
A port configured as a ______ port carries traffic for only one VLAN.
A VLAN ______ is a virtual interface that allows a switch to...
In 802.1Q tagging, how many bits are used for the VLAN ID field?
What is the maximum number of subinterfaces supported on a Huawei...
Which of the following is a benefit of using Layer 3 switches for...
What happens when a frame arrives at a trunk port with no VLAN tag?
Which VLAN ID is reserved for management in Huawei switches?
In inter-VLAN routing, the gateway IP address for a VLAN should be...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!