Example for Configuring an Eth-Trunk on an AP's Wired Uplink Interfaces
Service Requirements
The administrator wants to configure an Eth-Trunk on an AP's wired uplink interfaces to ensure uplink reliability.
Networking Requirements
AC networking mode: Layer 2 inline mode
Service data forwarding mode: tunnel forwarding
Data Planning
Item |
Data |
---|---|
Management VLAN for APs |
VLAN 100 |
AP wired port profile |
|
AP group |
|
Configuration Roadmap
- Configure an Eth-Trunk on a switch.
- Configure an Eth-Trunk for an AP on the AC.
- Restart the AP.
- Connect the switch and AP physically.
Configuration Notes
This example is applicable to an AP with two or more wired uplink interfaces.
This example assumes that the AP has gone online and describes how to configure an Eth-Trunk on the wired uplink interfaces of the AP. Before physical connections, configure the Eth-Trunk. Otherwise, a loop will occur on the network, causing the AP to go offline.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
Procedure
- Check AP information.
Check Item
Operation on the Web Platform
Data
Check the AP's group.
Choose AP List.
. Check the AP's group inAP group name: ap-group1
AP name: AP1
- Configure an Eth-Trunk on the switch.# Create Eth-Trunk1, and add GE0/0/1 and GE0/0/2 to Eth-Trunk1.
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] vlan batch 100 [Switch] interface eth-trunk 1 [Switch-Eth-Trunk1] description Connect to AP1 [Switch-Eth-Trunk1] port link-type trunk [Switch-Eth-Trunk1] port trunk pvid vlan 100 [Switch-Eth-Trunk1] port trunk allow-pass vlan 100 [Switch-Eth-Trunk1] undo port trunk allow-pass vlan 1 [Switch-Eth-Trunk1] port-isolate enable [Switch-Eth-Trunk1] quit [Switch] interface gigabitethernet 0/0/1 [Switch-GigabitEthernet0/0/1] eth-trunk 1 [Switch-GigabitEthernet0/0/1] quit [Switch] interface gigabitethernet 0/0/2 [Switch-GigabitEthernet0/0/2] eth-trunk 1 [Switch-GigabitEthernet0/0/2] quit
- Configure an Eth-Trunk on the AP.
- Restart the AP.
The configuration on the AP's wired interfaces takes effect only after the AP is restarted.
# Choose
.# Select AP1 and click Restart. In the dialog box that is displayed, click OK to restart the AP.
- Connect the switch and AP physically.