Changing link types of interfaces on WLAN devices

24

You can change the type of an interface on a WLAN device as follows:
- Change an access interface to a trunk or hybrid interface.
[HUAWEI]interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1]undo port default vlan //Restore the default VLAN of the interface to VLAN 1.
Run the display this command to check whether the interface has been added to other VLANs. If so, run the undo command delete the configurations.
Change the interface type based on service requirements.
[HUAWEI-GigabitEthernet0/0/1]port link-type hybrid //
Set the interface type to hybrid.
[HUAWEI-GigabitEthernet0/0/1]port link-type trunk //Set the interface type to trunk.

- Change a trunk interface to an access interface or a hybrid interface.
[HUAWEI]interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1]undo port trunk pvid vlan //Restore the default VLAN of the interface to VLAN 1.
[HUAWEI-GigabitEthernet0/0/1]undo port trunk allow-pass vlan all //Deny packets from all VLANs.
[HUAWEI-GigabitEthernet0/0/1]port trunk allow-pass vlan 1 //Allow packets from VLAN 1 to pass through.
Run the display this command to check whether the interface has been added to other VLANs. If so, run the undo command delete the configurations.

- Change the interface type based on service requirements.
[HUAWEI-GigabitEthernet0/0/1]port link-type access //Set the interface type to access.
[HUAWEI-GigabitEthernet0/0/1]port link-type hybrid //Set the interface type to hybrid.

- Change a hybrid interface to a trunk interface or an access interface.
[HUAWEI]interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1]undo port hybrid pvid vlan //Restore the default VLAN of the interface to VLAN 1.
[HUAWEI-GigabitEthernet0/0/1]undo port hybrid vlan all //Deny packets from all VLANs.
[HUAWEI-GigabitEthernet0/0/1]port hybrid untagged vlan 1 //Add the interface to VLAN 1 in untagged mode.

Run the display this command to check whether the interface has been added to other VLANs. If so, run the undo command delete the configurations.

Change the interface type based on service requirements.
[HUAWEI-GigabitEthernet0/0/1]port link-type access //Set the interface type to access.
[HUAWEI-GigabitEthernet0/0/1]port link-type trunk //Set the interface type to trunk.

Note: The type of an interface can be successfully changed only when no VLAN configuration exists on the interface.

Other related questions:
How to change the link type of an interface
The link type of an interface can be access, trunk, hybrid, or Dot1q-tunnel. The methods used to change the link type of an interface in different versions are different. In V200R005 and later versions, run the port link-type { access | trunk | hybrid | dot1q-tunnel } command and enter y or n as prompted. When the interface uses the default VLAN configuration, the system does not display any message. The link type of the interface is changed directly. When you enter y and press Enter, the device automatically deletes the non-default VLAN configuration of the interface and sets the link type of the interface to the specified one. When you enter n and press Enter, the device retains the current link type and VLAN configuration of the interface. Change the link type of the interface to hybrid. system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type hybrid Warning: This command will delete VLANs on this port. Continue?[Y/N]:y Info: This operation may take a few seconds. Please wait for a moment...done. In earlier versions of V200R005, an interface joins VLAN 1 by default, and the PVID of an interface is VLAN 1. You can run the port link-type { access | trunk | hybrid | dot1q-tunnel } command to change the link type of the interface. Change the link type of the interface to access. system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type access [HUAWEI-GigabitEthernet0/0/1] port default vlan 10 Change the link type of the interface to trunk. system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type trunk [HUAWEI-GigabitEthernet0/0/1] port trunk pvid vlan 10 [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 2 10 20 Change the link type of the interface to hybrid. system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type hybrid [HUAWEI-GigabitEthernet0/0/1] port hybrid pvid vlan 10 [HUAWEI-GigabitEthernet0/0/1] port hybrid untagged vlan 2 10 [HUAWEI-GigabitEthernet0/0/1] port hybrid tagged vlan 20 Change the link type of the interface to Dot1q-tunnel. system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type dot1q-tunnel [HUAWEI-GigabitEthernet0/0/1] port default vlan 10 When you change the link type of an interface that does not use the default VLAN configuration, the system displays the message "Error: Please renew the default configurations." You need to restore the default configuration of the interface, and then change the link type of the interface. Restore the default VLAN configuration of an access or Dot1q-tunnel interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port default vlan Restore the default VLAN configuration of a trunk interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port trunk pvid vlan [HUAWEI-GigabitEthernet0/0/1] undo port trunk allow-pass vlan all [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 1 Restore the default configuration of a hybrid interface. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo port hybrid pvid vlan [HUAWEI-GigabitEthernet0/0/1] undo port hybrid vlan all [HUAWEI-GigabitEthernet0/0/1] port hybrid untagged vlan 1

Types of interfaces on WLAN devices
WLAN devices provide three types of interfaces: - An access interface can connect to a user host. - A hybrid interface can connect to either a user device or a switch. - A trunk interface can connect to a switch.

Change the SSID on WLAN devices
Change the SSID on WLAN devices. Command output on the CLI: [HUAWEI]wlan [HUAWEI-wlan-view]service-set name test [HUAWEI-wlan-service-set-test]ssid huawei If the SSID is in use and cannot be modified, unbind SSID invocation and change the SSID again.

Do WLAN devices support Ethernet link aggregation
Currently, all Huawei ACs and only APs with dual network ports (such as the AP5030DN) support Ethernet link aggregation.

How to configure Ethernet link aggregation on WLAN devices
Eth-Trunk is a link aggregation technology that bundles multiple physical Ethernet links into one logical link to increase link bandwidth. The Ethernet physical links implement redundancy and improve link reliability. Link aggregation is also called Ethernet link aggregation, port aggregation, link bundling, port bundling, Eth-Trunk, Eth-Trunk link aggregation, and interface aggregation. Currently, all Huawei ACs and only APs with dual network ports (such as the AP5030DN) support Ethernet link aggregation. Currently, Ethernet link aggregation can be configured only on the CLI of WLAN devices. Link aggregation can work in manual load balancing mode or LACP mode. Link aggregation implement load balancing. WLAN devices support flow-based load balancing. You can configure link aggregation in manual load balancing mode or LACP mode. The following example describes how to configure link aggregation on an AC and an S series switch in manual load balancing mode. The right figure shows the networking diagram. 1. Create an Eth-Trunk on the AC and switch respectively, and add member interfaces to each Eth-Trunk. [AC6605] sysname AC [AC] interface eth-trunk 1 //Create Eth-Trunk 1 on the AC. [AC-Eth-Trunk1] trunkport gigabitethernet 0/0/1 to 0/0/3 //Add GE0/0/1, GE0/0/2, and GE0/0/3 to Eth-Trunk 1. [AC-Eth-Trunk1] quit [HUAWEI] sysname Switch [Switch] interface eth-trunk 1 //Create Eth-Trunk 1 on the switch. [Switch-Eth-Trunk1] trunkport gigabitethernet 1/0/1 to 1/0/3 //Add GE0/0/1, GE0/0/2, and GE0/0/3 to Eth-Trunk 1. [Switch-Eth-Trunk1] quit 2. Create VLANs and add interfaces to the VLANs. # Create VLAN 10 and VLAN 20, and add interfaces to the VLANs. The configuration on the switch is similar to that on the AC, and is not described here. [AC] vlan batch 10 20 [AC] interface gigabitethernet 0/0/4 [AC-GigabitEthernet0/0/4] port link-type trunk //Set the link type of the interface to trunk, which is not the default type. [AC-GigabitEthernet0/0/4] port trunk allow-pass vlan 10 [AC-GigabitEthernet0/0/4] quit [AC] interface gigabitethernet 0/0/5 [AC-GigabitEthernet0/0/5] port link-type trunk //Set the link type of the interface to trunk, which is not the default type. [AC-GigabitEthernet0/0/5] port trunk allow-pass vlan 20 [AC-GigabitEthernet0/0/5] quit # Configure Eth-Trunk 1 to allow packets from VLAN 10 and VLAN 20 to pass through. The configuration on the switch is similar to that on the AC, and is not described here. [AC] interface eth-trunk 1 [AC-Eth-Trunk1] port link-type trunk //Set the link type of the interface to trunk, which is not the default type. [AC-Eth-Trunk1] port trunk allow-pass vlan 10 20 [AC-Eth-Trunk1] quit 3. Set the load balancing mode of Eth-Trunk 1. The configuration on the switch is similar to that on the AC, and is not described here. [AC] interface eth-trunk 1 [AC-Eth-Trunk1] load-balance src-dst-mac //Configure load balancing of Eth-Trunk 1 based on source and destination MAC addresses. [AC-Eth-Trunk1] quit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top