HCIA-Datacom lab 6 of 22
VLANs with access and trunk ports
Split one switched network into Finance, Sales and Management VLANs across two CloudEngine switches. You build access ports and an 802.1Q trunk, watch MAC learning happen, and prove which hosts can and cannot reach each other.
Run this lab
It needs Standard: its 6 nodes are set to 8 vCPU and 8,192 MB in total.
In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 06 - VLANs with access and trunk ports
- Level
- Beginner
- Time
- About 50 minutes
- Nodes need
- 8 vCPU, 8,192 MB
- Smallest plan
- Standard
The scenario
Northwind Logistics is moving its Finance and Sales teams onto a new office floor. There are two wiring closets, each with a CloudEngine switch, joined by one uplink. Today every port is in VLAN 1, so the whole floor is one broadcast domain and Finance traffic reaches Sales desks. Your job is to give each team its own VLAN on both switches, carry those VLANs between the closets on a trunk, and add a management VLAN so the network team can reach both switches.
| Device | Port | Connects to | VLAN | Address |
|---|---|---|---|---|
| SW1 | GE1/0/1 | PC1 (Finance) | 10 | 192.168.10.1/24 |
| SW1 | GE1/0/2 | PC2 (Sales) | 20 | 192.168.20.2/24 |
| SW2 | GE1/0/1 | PC3 (Finance) | 10 | 192.168.10.3/24 |
| SW2 | GE1/0/2 | PC4 (Sales) | 20 | 192.168.20.4/24 |
| SW1, SW2 | GE1/0/10 | each other | trunk: 10, 20, 99 | – |
| SW1 | Vlanif99 | – | 99 | 192.168.99.1/24 |
| SW2 | Vlanif99 | – | 99 | 192.168.99.2/24 |
The PCs are already addressed. The switches start with their factory configuration.
What you’ll practise
- Create VLANs with vlan batch and label them with descriptions
- Configure access ports and an 802.1Q trunk, and remove VLAN 1 from the trunk
- Explain the VRP8 two-stage commit and read the [~ and [* prompts
- Read display vlan, display port vlan and display mac-address output
- Add a VLANIF management address and test it across the trunk
The tasks
- Task 1: Name the switches
- Concept: what a VLAN does
- Task 2: Create the VLANs
- Concept: access ports
- Task 3: Put the PCs in their VLANs
- Concept: trunks and 802.1Q
- Task 4: Build the trunk
- Task 5: Management addresses
- Concept: how a switch learns
- Task 6: Read the MAC address table
- Task 7: Break it and fix it
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- SW1
GE1/0/1to PC1eth0 - SW1
GE1/0/2to PC2eth0 - SW2
GE1/0/1to PC3eth0 - SW2
GE1/0/2to PC4eth0 - SW1
GE1/0/10to SW2GE1/0/10
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| SW1 | Huawei CloudEngine CE6800 | huaweice6800-bundled | 2 vCPU, 2,048 MB |
| SW2 | Huawei CloudEngine CE6800 | huaweice6800-bundled | 2 vCPU, 2,048 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC2 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC3 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC4 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
HCIA-Datacom H12-811 guided labs.Open
06 - VLANs with access and trunk portsand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More HCIA-Datacom labs
Related labs in other courses
CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.