Configuring a trunk interface on a WLAN device

The following example describes how to configure a trunk interface on an AC:
A trunk interface connects an AC to a switch.
[HUAWEI]vlan batch 2 3 //Create VLANs.
[HUAWEI]interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1]port link-type trunk //Set the link type of the interface to trunk. The link type of the interface is hybrid by default.
[HUAWEI-GigabitEthernet0/0/1]port trunk allow-pass vlan all //Allow packets from all VLANs to pass through. By default, the interface allows only packets from VLAN 1 to pass through.
[HUAWEI-GigabitEthernet0/0/1]port trunk pvid vlan 2 //(Optional) Specify VLAN 2 as the default VLAN of the interface (default: VLAN 1).

Other related questions:
Configuring access interfaces on WLAN devices
Configuring hybrid interfaces on WLAN devices
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top