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

Run it on Standard from £5 a day

The free demo can’t run it: it has 6 vCPU and 8 GB, and this lab’s nodes need 8 vCPU and 8,192 MB together. Every lab plan includes every guided lab.

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.

DevicePortConnects toVLANAddress
SW1GE1/0/1PC1 (Finance)10192.168.10.1/24
SW1GE1/0/2PC2 (Sales)20192.168.20.2/24
SW2GE1/0/1PC3 (Finance)10192.168.10.3/24
SW2GE1/0/2PC4 (Sales)20192.168.20.4/24
SW1, SW2GE1/0/10each othertrunk: 10, 20, 99–
SW1Vlanif99–99192.168.99.1/24
SW2Vlanif99–99192.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.

Topology of VLANs with access and trunk ports6 nodes, 5 links. Every link is listed as text below the diagram.SW1SW2PC1PC2PC3PC4GE1/0/2eth0GE1/0/1eth0GE1/0/1eth0GE1/0/2eth0GE1/0/10GE1/0/10
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in VLANs with access and trunk ports, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
SW1Huawei CloudEngine CE6800huaweice6800-bundled2 vCPU, 2,048 MB
SW2Huawei CloudEngine CE6800huaweice6800-bundled2 vCPU, 2,048 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC3VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC4VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder HCIA-Datacom H12-811 guided labs.

  3. Open 06 - VLANs with access and trunk ports and 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

All 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.