H3C Wireless AC layer 2 roaming
1. Topological graph
II. Achievement of objectives:
The wireless client connects to the wireless network through AP 1 and roams to AP 2 connected to the same AC.
III. Configuration steps
Wireless AC configuration is as follows
1) Configure AC IP address
#Create vlan 100 and its corresponding vlan interface, and configure the IP address for the interface. AC will establish LWAPP tunnel with AP using IP address of this interface
system-view
[AC] vlan 100
[AC-vlan100] quit
[AC] interface vlan-interface 100
[AC-Vlan-interface100] ip address 24.10.1.10 24
[AC-Vlan-interface100] quit
#Create vlan 200 as default vlan for ESS interface
[AC] vlan 200
[AC-vlan200] quit
2)Configure wireless interface
#Configure Wlan-ESS1 interface
[AC] interface wlan-ess 1
#Configure Wlan-ESS1 interface type as hybrid type
[AC-WLAN-ESS1] port link-type hybrid
#Configure the pvid of the current Hybrid port to vlan200, prohibit VLAN 1 from passing through and allow VLAN 200 to pass through without tag.
[AC-WLAN-ESS1]undo port hybrid vlan 1
[AC-WLAN-ESS1] port hybrid pvid vlan 200
[AC-WLAN-ESS1] port hybrid vlan 200 untagged
Enable MAC-VLAN functionality.
[AC-WLAN-ESS1] mac-vlan enable
[AC-WLAN-ESS1] quit
#Create a service template of type clear 1.
[AC] wlan service-template 1 cleare
#Set SSID of current service template to intra-roam.
[AC-wlan-st-1] ssid intra-roam
#Bind WLAN-ESS1 interface to service template 1.
[AC-wlan-st-1] bind wlan-ess 1
#Open service template 1.
[AC-wlan-st-1] service-templateenable
[AC-wlan-st-1] quit
(3)Configure RF interface and bind service template
#Configure AP1: Create a template for AP1, name it AP1, select WA2620E-AGN for the model name, and configure the serial number of AP1.
[AC] wlan ap ap1 model WA2620E-AGN
[AC-wlan-ap-ap1] serial-id 21023529G007C000020
[AC-wlan-ap-ap1] radio 2
#Bind service template 1 to radio port 2 of AP 1.
[AC-wlan-ap-ap1-radio-2] service-template1
[AC-wlan-ap-ap1-radio-2] radio enable
[AC-wlan-ap-ap1-radio-2] quit
[AC-wlan-ap-ap1] quit
#Configure AP2: Create AP2 template, name AP2, select WA2620E-AGN for model name, and configure AP2 serial number.
[AC] wlan ap ap2 model WA2620E-AGN
[AC-wlan-ap-ap2] serial-id 21023529G007C000021
[AC-wlan-ap-ap2] radio 2
#Bind service template 1 to radio port 2 of AP 2.
[AC-wlan-ap-ap2-radio-2] service-template1
[AC-wlan-ap-ap2-radio-2] radio enable
[AC-wlan-ap-ap2] quit
The configuration of the switch is as follows
#Create VLAN 100 for forwarding traffic within the LWAPP tunnel between AC and AP.
system-view
[Switch] vlan 100
[Switch-vlan100] quit
#Configure Gigabit Ethernet 1/0/1 interface of Switch as Trunk, PVID of current Trunk port is 100, VLAN 100 is allowed to pass through.
[Switch] interfaceGigabitEthernet1/0/1
[Switch-GigabitEthernet1/0/1] portlink-type trunk
[Switch-GigabitEthernet1/0/1] porttrunk permit vlan 100
[Switch-GigabitEthernet1/0/1] porttrunk pvid vlan 100
[Switch-GigabitEthernet1/0/1] quit
#Configure the Gigabit Ethernet 1/0/2 interface to Access and allow VLAN 100 to pass through.
[Switch] interfaceGigabitEthernet1/0/2
[Switch-GigabitEthernet1/0/2] portlink-type access
[Switch-GigabitEthernet1/0/2] portaccess vlan 100
#Enable PoE functionality.
[Switch-GigabitEthernet1/0/2] poeenable
[Switch-GigabitEthernet1/0/2] quit