Example for the VLAN Configurations on an AP's Wired Interfaces
An AP can have wired users connected through its downlink wired interfaces. This example describes the VLAN configuration on an AP's wired interfaces.
Networking Requirements
The wired interface GE1 on the AP is directly connected to a PC. The PC obtains an IP address through VLAN 200.
When planning VLANs, you are advised to distinguish the VLAN on the wired side from that on the wireless side.
Configuration Introduction
- Create two AP wired port profiles for configuring GE1 on the AP directly connected to the PC and GE0 directly connected to the switch.
# Configure an AP wired port profile for GE1.
[AC-wlan-view] wired-port-profile name ge1 [AC-wlan-wired-port-ge1] mode endpoint [AC-wlan-wired-port-ge1] vlan untagged 200 [AC-wlan-wired-port-ge1] vlan pvid 200 [AC-wlan-wired-port-ge1] quit
# Configure an AP wired port profile for GE0.
[AC-wlan-view] wired-port-profile name ge0 [AC-wlan-wired-port-ge0] vlan tagged 200 [AC-wlan-wired-port-ge0] quit
- Bind the two AP wired port profiles to GE0 and GE1 on the AP, respectively.
When binding the AP wired port profiles, do not bind the AP wired port profile in which the wired interfaces are configured to work in endpoint mode to the uplink interface on the AP directly connected to the switch.
[AC-wlan-view] ap-id 1 [AC-wlan-ap-1] wired-port-profile ge0 gigabitethernet 0 [AC-wlan-ap-1] wired-port-profile ge1 gigabitethernet 1
- Perform configurations to allow packets from service VLAN 200 to transmit between the interface on the AP connected to the access switch and the DHCP server corresponding to service VLAN 200.
- Restart the AP. The PC directly connected to GE1 on the AP in wired mode obtains an IP address.