VLAN Configuration on Huawei Switches


How to Configure VLAN on Huawei Switches?

VLAN configuration on Huawei switch is not too different than Cisco VLAN configuration. But there are some differences. In this lesson, we will see the VLAN configuration steps on Huawei devices.

For our example, we will use the below VLAN topology.


We will configure each switch for VLANs one by one.

Firstly, we will create the VLANs. We can create VLANs one by one or in a batch. Beside, we will add the description of the VLAN.

Enter system view, return user view with Ctrl+Z.
[IPCisco-HCNA-1] vlan 2
[IPCisco-HCNA-1-vlan2] description Sales
[IPCisco-HCNA-1-vlan2] quit


[IPCisco-HCNA] vlan batch 4 to 6


Now, lets configure the ports.Here, we will configure GigabitEthernet 1/1/1 as trunk.And our access ports will be GigabitEthernet 1/1/2 and GigabitEthernet 1/1/3. We will configure this with the command “port link-type”.

[IPCisco-HCNA-1] interface GigabitEthernet  1/1/1
[IPCisco-HCNA-1-GigabitEthernet 1/1/1] port link-type trunk
[IPCisco-HCNA-1-GigabitEthernet 1/1/1] interface GigabitEthernet 1/1/2
[IPCisco-HCNA-1-GigabitEthernet 1/1/2] port link-type access
[IPCisco-HCNA-1-GigabitEthernet 1/1/2] interface GigabitEthernet 1/1/3
[IPCisco-HCNA-1-GigabitEthernet 1/1/3] port link-type access
[IPCisco-HCNA-1-GigabitEthernet 1/1/3] quit

It is time to add ports to the created VLANs. We will add GigabitEthernet 1/1/2 to VLAN 2 and GigabitEthernet 1/1/3 to VLAN 4.

VLAN – Part 1
VLAN – Part 2 (VLAN Assignments and VLAN Port Types)
VLAN – Part 3 (VLAN Frame Tagging Protocols, ISL and Dot1.q)
VLAN – Part 4 (How to Configure Cisco VLANs)
VLAN – Part 5 (Packet Tracer VLAN Configuration Example)
VLAN Configuration on Huawei Switches

Private VLANs
Private VLAN Cisco Configuration

What is Protected Port?

Leave a Reply