[SW1]vlan 100
[SW1]int g0/0/1
[SW1-GigabitEthernet0/0/1]p l t
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SW1]int vlan 100
[SW1-Vlanif100]ip add 10.1.100.1 24
[SW1]vlan 101
[SW1-vlan101]int vlan 101
[SW1-Vlanif101]ip add 10.1.101.1 24
[AC6005]vlan 100
[AC6005-vlan100]q
[AC6005]int g0/0/1
[AC6005-GigabitEthernet0/0/1]p l t
[AC6005-GigabitEthernet0/0/1]p t p v 100
[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[AC6005]int g0/0/2
[AC6005-GigabitEthernet0/0/2]p l t
[AC6005-GigabitEthernet0/0/2]p t p v 100
[AC6005-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[AC6005]int g0/0/8
[AC6005-GigabitEthernet0/0/8]p l t
[AC6005-GigabitEthernet0/0/8]port trunk allow-pass vlan all
[AC6005]dhcp enable
[AC6005]ip pool vlan100pool
[AC6005-ip-pool-vlan100pool]network 10.1.100.0 mask 24
[AC6005-ip-pool-vlan100pool]gateway-list 10.1.100.1
[AC6005-ip-pool-vlan100pool]excluded-ip-address 10.1.100.1 10.1.100.10
[AC6005]int vlan 100
[AC6005-Vlanif100]ip add 10.1.100.2 24
[AC6005-Vlanif100]dhcp select global
[AC6005]ip pool vlan101pool
[AC6005-ip-pool-vlan101pool]network 10.1.101.0 mask 24
[AC6005-ip-pool-vlan101pool]gateway-list 10.1.101.1
[AC6005-ip-pool-vlan101pool]excluded-ip-address 10.1.101.1 10
[AC6005-ip-pool-vlan101pool]excluded-ip-address 10.1.101.1 10.1.101.10
[AC6005-vlan101]int vlan 101
[AC6005-Vlanif101]ip add 10.1.101.2 24
[AC6005-Vlanif101]dhcp select global
[AC6005]wlan
[AC6005-wlan-view]regulatory-domain-profile name xma
[AC6005-wlan-regulate-domain-xma]country-code cn
[AC6005-wlan-view]ap-group name ap-group1
[AC6005-wlan-ap-group-ap-group1]regulatory-domain-profile xma
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:y
[AC6005]capwap source int vlanif 100
[AC6005-wlan-view]ap auth-mode mac-auth
[AC6005-wlan-view]ap-mac 00e0-fcf8-2ee0 ap-id 0
[AC6005-wlan-ap-0]ap-group ap-group1
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:y
[AC6005-wlan-view]ap-mac 00e0-fcea-3140 ap-id 1
[AC6005-wlan-ap-1]ap-group ap-group1
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configurations of the radio, Whether to continue? [Y/N]:y
[AC6005]wlan
[AC6005-wlan-view]security-profile name security-1
[AC6005-wlan-sec-prof-security-1]security open
[AC6005-wlan-sec-prof-security-1]q
[AC6005-wlan-view]ssid-profile name ssid-1
[AC6005-wlan-ssid-prof-ssid-1]ssid xma
[AC6005-wlan-view]vap-profile name xma-vap
[AC6005-wlan-vap-prof-xma-vap]forward-mode tunnel
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-xma-vap]service-vlan vlan-id 101
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-xma-vap]security-profile security-1
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-vap-prof-xma-vap]ssid-profile ssid-1
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-view]ap-group name ap-group1
[AC6005-wlan-ap-group-ap-group1]vap-profile xma-vap wlan 1 radio all
Info: This operation may take a few seconds, please wait…done.