FTTH fiber-to-the-home solutions
Optical communication component solutions

How to add VLANs to the optical ports of a Huawei switch

How to add VLANs to the optical ports of a Huawei switch

VLANs on Huawei switch optical ports can be configured as access, trunk, or hybrid ports using CLI commands, with PVID and allowed VLANs set according to network requirements.Step 1: Access the Switch CLIConnect to the Huawei switch via console, SSH, or Telnet. Enter system view to start configuration:CodeCopy system-view Step 2: Create VLANsDefine the VLANs you need and optionally add descriptions:CodeCopy vlan 100[Huawei-vlan100] description Sales_VLAN[Huawei-vlan100] quit vlan 200[Huawei-vlan200] description IT_VLAN[Huawei-vlan200] quit Step 3: Configure the Optical PortOptical ports are typically GigabitEthernet or 10GigabitEthernet interfaces. Decide whether the port will be access, trunk, or hybrid:Access Port (single VLAN)CodeCopy interface GigabitEthernet0/0/1[Huawei-GigabitEthernet0/0/1] port link-type access[Huawei-GigabitEthernet0/0/1] port default vlan 100[Huawei-GigabitEthernet0/0/1] quit port link-type access: sets the port for end devices.port default vlan 100: assigns VLAN 100 to untagged frames.Trunk Port (multiple VLANs)CodeCopy interface GigabitEthernet0/0/10[Huawei-GigabitEthernet0/0/10] port link-type trunk[Huawei-GigabitEthernet0/0/10] port trunk allow-pass vlan 100 200[Huawei-GigabitEthernet0/0/10] quit port link-type trunk: allows multiple VLANs.port trunk allow-pass vlan 100 200: specifies which VLANs can pass through the trunk.Hybrid Port (mixed tagged and untagged)CodeCopy interface GigabitEthernet0/0/2[Huawei-GigabitEthernet0/0/2] port link-type hybrid[Huawei-GigabitEthernet0/0/2] port hybrid pvid vlan 100[Huawei-GigabitEthernet0/0/2] port hybrid vlan 100 200 tagged[Huawei-GigabitEthernet0/0/2] quit port hybrid pvid vlan 100: sets the default VLAN for untagged frames.port hybrid vlan 100 200 tagged: allows tagged frames for multiple VLANs.Step 4: Configure VLAN Interface (Optional)If you need Layer 3 connectivity for the VLAN:CodeCopy interface Vlanif100[Huawei-Vlanif100] ip address 192.168.100.1 255.255.255.0[Huawei-Vlanif100] quit Step 5: Verify ConfigurationCheck VLAN assignments and port types:CodeCopy display vlan display port vlan display vlan: shows all VLANs and member ports.display port vlan: shows port link type, PVID, and allowed VLANs.NotesPVID: The default VLAN ID for untagged frames on access or hybrid ports.Tagged vs Untagged: Trunk ports carry tagged frames; access ports carry untagged frames.Optical ports: Commands are the same as for copper ports; ensure the interface name matches the optical module (e.g., GigabitEthernet0/0/10 or 10GE0/0/1). By following these steps, you can configure VLANs on Huawei switch optical ports for access, trunk, or hybrid scenarios, ensuring proper segmentation and traffic isolation across your network .

Feb 24, 2026

Configuring VLANs on the Switch

Configuring VLANs on the Switch Networks ports 1 to 12 are planned for external networks, and network ports 13 to 24 are planned for internal networks. Use the default settings of Windows Hyperterminal

Aug 31, 2025

Managing VLANs on Huawei Trunk Ports: Add & Remove Step-by

🔊 Welcome to our Huawei Networking Tutorial Series! In this detailed tutorial, we focus on how to add and remove VLANs from a Huawei trunk port. If you''re working with Huawei switches and need

Feb 08, 2026

How to Create VLAN on Huawei Switch: Are You

Huawei''s Hybrid port mode lets a single port handle multiple VLANs, simplifying adds/moves. Imagine a retail chain adding POS systems: Hybrid

Apr 02, 2026

HUAWEI HG8245H PRODUCT DESCRIPTION Pdf

View and Download Huawei HG8245H product description online. EchoLife ONT GPON Terminal. HG8245H network router pdf manual download.

Jan 21, 2026

VLAN Routing with Layer 2 Switch and Router on Huawei

VLAN Routing with Huawei Layer 2 Switches. Here we will focus How to Configure VLAN Routing on Huawei devices with a configuration example.

Mar 04, 2026

Configure Port to VLAN Interface Settings on a Switch

This article provides instructions on how to configure an interface VLAN as an access or trunk port on your switch through the CLI.

Jan 18, 2026

Assigning VLANs

Add PC1 and PC3 to the same IP address segment, for example, 192.168.100.0/24; add PC2 to another IP address segment, for example, 192.168.200.0/24. PC1 and PC3 can ping each other but cannot

Jun 02, 2026

Adding Interfaces to a VLAN

To add the hybrid interface to a VLAN or multiple VLANs in untagged mode, run port hybrid untagged vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>. By default, a hybrid interface is added to VLAN 1 in untagged

Aug 25, 2025

VLAN Configuration Commands

Add the access interface to the VLAN using the port default vlan vlan-id command. If the Layer 2 Ethernet interface connects to an interface of another switching device,

Jun 09, 2026

Assigning VLANs

Interface-based VLAN assignment is the simplest and most effective method for assigning VLANs. With interface-based VLAN assignment, an interface is added to a VLAN, after which the interface can

Jul 30, 2025

MS Layer 3 Switching and Routing

Layer 3 routing capabilities are available on most Cisco Meraki switches. This allows the switches to route traffic between VLANs in a campus

May 09, 2026

VLAN Configuration on Huawei Switch | Access, Trunk & Hybrid Ports

🔧 How to Create VLAN on Huawei Switch | Step-by-Step CLI Tutorial🖧 VLAN Configuration on Huawei Switch | Access, Trunk & Hybrid Ports Explained💡 Huawei Sw...

May 17, 2026

RouterOS

RouterOS Documentation This webpage contains the official RouterOS user manual. RouterOS is the operating system of MikroTik devices. Documentation applies for the latest stable

Jun 12, 2026

Huawei Switch VLAN, Trunk, VLANIF Configuration

Learn to configure VLANs, trunks, and VLANIFs on Huawei switches. Step-by-step tutorial with examples for network configuration.

May 09, 2026

Typical VLAN Configuration

Procedure Create VLAN 2 and VLAN 3 on SwitchA and add interfaces that are connected to users to VLANs. The configuration of SwitchB is similar to the configuration of SwitchA, and is not mentioned

May 10, 2026

How to Configure an Access Port for Data VLAN on Huawei Switch

🔊 Welcome to our Huawei Networking Tutorial Series! In this video tutorial, you''ll learn how to configure an access port for Data VLANs on Huawei network devices. Whether you''re preparing for a

Jun 22, 2026

Configuring VLANs and Assigning ports to VLANs

This short video shows you a step by step way of configuring VLANs on a Cisco switch and assign ports to those VLANs.

Dec 11, 2025

VLAN Configuration on Huawei Switch | Access, Trunk & Hybrid Ports

This tutorial covers everything from VLAN creation to interface assignment and verification — perfect for beginners and network professionals alike. 🧩 Topics Covered: Entering

Aug 20, 2025

Basic CLI Commands on Huawei Switch

The text covers tasks such as creating a user, VLAN configuration, port settings, enabling SSH and Telnet services, configuring Spanning Tree Protocol (STP),

Apr 20, 2026

Huawei Gpon Olt Vlan Port Link-aggregation Configuration | Technical

Huawei SmartAX MA5683T GPON OLT VLAN PORT Link-Aggregation Configuration | Technical Hakim.0:45 Adding/Creating Vlans in OLT1:45 Tagging created Vlans to spe...

Apr 09, 2026

VLAN Configuration on a Cisco Switch

Learn how to configure VLANs on a Cisco switch using the command-line interface (CLI). This guide provides a step-by-step walkthrough, covering

Apr 13, 2026

Step-by-Step Guide to Configure VLAN and Bind Ports on a Huawei

Configuring a Huawei switch to assign an IP address to VLAN 1 and binding multiple ports to it can seem challenging, but this step-by-step guide simplifies the process.

May 04, 2026

maltego/top100Kenglishwords.txt at master

Custom Maltego transforms. Contribute to michenriksen/maltego development by creating an account on GitHub.

Aug 06, 2025

Typical VLAN Configuration

Configure VLANs and interfaces on SwitchA and SwitchB, add PCs of different departments to different VLANs, and configure interfaces on SwitchA and SwitchB to transparently transmit packets from

May 12, 2026

From Beginner to Pro: VLAN Configuration on Cisco, BdCom, and

Mastering VLANs is crucial for effectively managing and securing modern networks. Whether you are working with Cisco, BdCom, or Huawei switches, understanding how to configure

Sep 19, 2025

Huawei VLAN Configuration on Huawei Switches ⋆ | Huawei NE40

In this lesson we will learn Huawei VLAN Configuration on Huawei Switches. VLAN Configuration is one of the key lessons for Huawei HCNA.

Jul 08, 2026

VLAN Configuration on Huawei S5720 Switch | PDF

This document provides a step-by-step guide for configuring VLANs on Huawei S5720 switches, including prerequisites and detailed CLI commands. It outlines the process of accessing the switch,

Mar 31, 2026

Configure VLANs on Huawei Switches Like a Pro in 10 Minutes!

In this Huawei VLAN Configuration lesson, you will learn how to configure Virtual LANs on Huawei switches. After this lesson, you will be familier with VLAN commands of Huawei...

More industry information

Contact Us

We Look Forward to Working with You

Contact Information

Phone +27 64 827 3915
Address Unit 9, Highveld Technopark, 43 Atlas Road, Johannesburg, 2196, South Africa

Send an Inquiry