Configuring Port Groups and VLAN20 on Huawei Switches
This guide explains how to create a permanent port group on a Huawei aggregation switch, add ten access‑switch interfaces to it, set the ports as trunk, allow VLAN20 traffic, and verify the configuration using display commands.
The network diagram shows an aggregation switch with 30 downstream access switches, of which ten need to interconnect and permit VLAN20 traffic. To achieve this, the aggregation switch ports GE1/0/1 through GE1/0/10 must be configured to allow VLAN20.
First, create a permanent port group on the Huawei switch: port-group 1 // create port group 1 Add the required interfaces to the group:
group-member gigabitethernet1/0/1 to gigabitethernet1/0/10 // add GE1/0/1‑GE1/0/10 to port group 1Set the port type to trunk and allow VLAN20 to pass:
port link-type trunk // configure port as trunk port trunk allow-pass vlan20 // allow VLAN20 on the trunk portsVerify the permanent port group members with the display command:
displayport-group [all|port-group-name] // view members of the specified port groupFor temporary port groups, the following command can be used, which is equivalent to an interface range command:
port-group group-member gigabitethernet1/0/1 to gigabitethernet1/0/10 // create temporary port groupEquivalent command:
interface range gigabitethernet1/0/1 to gigabitethernet1/0/10 // select the range of interfacesSigned-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Practical DevOps Architecture
Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
